pub fn test_static<const OP: u32, Q: AsRef<[Align64<Block<R>>]> + AsMut<[Align64<Block<R>>]>, R: ArrayLength + NonZero, N: CreatePbkdf2HmacSha256State>(
buffer_sets: [&mut BufferSet<Q, R>; 2],
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 compile-time R and a runtime P.