Skip to content

Multiply random value on BrainpoolP256r1 #127

Answered by paulmillr
pke asked this question in Q&A
Discussion options

You must be logged in to vote

you will need to do mod(pcdSkX1, brainpoolP256r1.CURVE.n) first. And instead of random.getBytesSync(curve.CURVE.nByteLength), do random.getBytesSync(Math.floor(curve.CURVE.nByteLength * 1.5))

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@pke
Comment options

@paulmillr
Comment options

@pke
Comment options

@paulmillr
Comment options

@pke
Comment options

Answer selected by pke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants