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