UNPKG

spacylabs-rhino

Version:
10 lines (9 loc) 176 B
/* ensure stark Key is always 64 bits */ module.exports = (starkPublicKey) => { return { x: starkPublicKey.x.padStart(64, '0').substr(-64), y: starkPublicKey.y } }