Skip to main content

reverse_bytes

Function reverse_bytes 

Source
pub fn reverse_bytes(value: b64) -> b64
Expand description

Byte-reverse a 64-bit word (SHA-512 is big-endian, the ports little-endian).

The reversal is pure wiring: no gates, only a permutation of bits.