added warning about last bit being ignored on scalars
This commit is contained in:
parent
75216d602b
commit
c0e8d63943
@ -92,6 +92,8 @@ generated with `ed25519_create_seed`), generating a new key pair. You can
|
||||
calculate the public key sum without knowing the private key and vice versa by
|
||||
passing in NULL for the key you don't know. This is useful for enforcing
|
||||
randomness on a key pair while only knowing the public key, among other things.
|
||||
Warning: the last bit of the scalar is ignored - if comparing scalars make sure
|
||||
to clear it with `scalar[31] &= 127`.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
Loading…
Reference in New Issue
Block a user