Merge pull request #133 from carleeto/main

Fix montgomery sample code in README.md
This commit is contained in:
Paul Miller 2024-03-25 08:28:17 +01:00 committed by GitHub
commit 8ad2f9a185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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