Function ethash::hashimoto
[−]
[src]
pub fn hashimoto<F: Fn(usize) -> [u8; 64]>(
header: &[u8],
nonce: u64,
full_size: usize,
lookup: F
) -> ([u8; 128], [u8; 32])
"Main" function of Ethash, calculating the mix digest and result given the header and nonce.