We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be1e4ac commit e4f8b07Copy full SHA for e4f8b07
stacks-common/src/util/vrf.rs
@@ -429,7 +429,7 @@ impl VRF {
429
/// * its public key (an ed25519 curve point)
430
/// * a new private key derived from the hash of the private key
431
/// * a truncated hash of the private key
432
- /// Idea borroed from Algorand (https://github.com/algorand/libsodium/blob/draft-irtf-cfrg-vrf-03/src/libsodium/crypto_vrf/ietfdraft03/prove.c)
+ /// Idea borrowed from Algorand (https://github.com/algorand/libsodium/blob/draft-irtf-cfrg-vrf-03/src/libsodium/crypto_vrf/ietfdraft03/prove.c)
433
fn expand_privkey(secret: &VRFPrivateKey) -> (VRFPublicKey, ed25519_Scalar, [u8; 32]) {
434
let mut hasher = Sha512::new();
435
let mut h = [0u8; 64];
0 commit comments