pub fn sha256_condition_bytes(raw: &[u8], n_output: usize) -> Vec<u8> ⓘExpand description
SHA-256 chained conditioning: stretches or compresses raw bytes to exactly
n_output bytes using counter-mode hashing.
Each 32-byte output block is: SHA-256(state || chunk || counter). State is chained from the previous block’s digest.