3 ms·
I take it you understand the specific optimization. Is there a reason they keep talking about a '32-bit' this and that? or should that be '32 byte' as that wou
by DoctorOetker 9y ago
I take it you understand the specific optimization.
Is there a reason they keep talking about a '32-bit' this and that? or should that be '32 byte' as that would be 256 bits?
- makomk 9y agoSHA-256 operates almost entirely on 32-bit values, because it's designed to be efficient to compute on general-purpose CPUs without special hardware support. The SHA-256 state consists of 8 32-bit integers, of which 2 are updated each round. (SHA-512 uses 64-bit integers instead for some reason.)