Skip to main content

sha256_multi

Function sha256_multi 

Source
pub fn sha256_multi<const N: usize>(inputs: [&[u8]; N]) -> [[u8; 32]; N]
Expand description

Hashes a batch of equal-length byte inputs into one standard SHA-256 digest each.

The inputs hash as independent streams, one lane each, sharing a block count.

ยงPanics

Panics if the inputs are not all the same length.