pull down to refresh
0 sats \ 0 replies \ @025738dda8 27 Dec \ on: ⚠️ NEVER reuse Nonce bitcoin
When using libsodium-based cryptography, it does the magic under the hood:
https://github.com/jedisct1/libsodium/blob/1d9fec9566455e27e831d05fecf45d7585b60af1/src/libsodium/crypto_sign/ed25519/ref10/sign.c#L50
The nonce is derived from the sha512 of hashed private key and the message being signed. Optionally, if enabled during compilation, the nonce can be randomized via func _crypto_sign_ed25519_synthetic_r_hv().