pub fn test<const OP: u32, N: CreatePbkdf2HmacSha256State>(
buffer_sets: &mut [Align64<Block<U1>>],
cf: NonZeroU8,
r: NonZeroU32,
p: NonZeroU32,
salt: &[u8],
mask: NonZeroU64,
target: u64,
offset: usize,
nonce_generator: impl IntoIterator<Item = N>,
) -> Option<(N, Pbkdf2HmacSha256State)>
Expand description
Brute force the scrypt function for a masked test for a given target and nonce generator at a given offset with a runtime R and P.