Skip to content

Commit

Permalink
Fix montgomery sample code in README.md
Browse files Browse the repository at this point in the history
Resolves #132
  • Loading branch information
carleeto authored Mar 24, 2024
1 parent 8195145 commit be576b4
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 be576b4

Please sign in to comment.