Function darkfi_sdk::crypto::util::hash_to_scalar
source ยท pub fn hash_to_scalar(persona: &[u8], vals: &[&[u8]]) -> Scalar
Expand description
Hash a slice of values together with a prefix persona
using BLAKE2b
and return a pallas::Scalar
element from the digest.