[][src]Function storage_proofs::vde::create_key

pub fn create_key<H: Hasher>(
    id: &H::Domain,
    node: usize,
    parents: &[usize],
    data: &[u8]
) -> Result<H::Domain>

Creates the encoding key. The algorithm for that is Blake2s(id | encodedParentNode1 | encodedParentNode1 | ...). It is only public so that it can be used for benchmarking