Skip to content

Commit

Permalink
Merge pull request #133 from carleeto/main
Browse files Browse the repository at this point in the history
Fix montgomery sample code in README.md
  • Loading branch information
paulmillr authored Mar 25, 2024
2 parents 8195145 + be576b4 commit 8ad2f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ import { Field } from '@noble/curves/abstract/modular';
const x25519 = montgomery({
a: 486662n,
Gu: 9n,
Fp: Field(2n ** 255n - 19n),
P: 2n ** 255n - 19n,
montgomeryBits: 255,
nByteLength: 32,
// Optional param
Expand Down

0 comments on commit 8ad2f9a

Please sign in to comment.