[−][src]Function storage_proofs::vde::encode
pub fn encode<'a, H, G>(
graph: &'a G,
sloth_iter: usize,
replica_id: &'a H::Domain,
data: &'a mut [u8]
) -> Result<()> where
H: Hasher,
G: Graph<H>,
encodes the data and overwrites the original data slice.