¡@

Home 

java Programming Glossary: block_bytes

Can SHA-1 algorithm be computed on a stream? With low memory footprint?

http://stackoverflow.com/questions/2495994/can-sha-1-algorithm-be-computed-on-a-stream-with-low-memory-footprint

64 static const size_t block_bits 512 static const size_t block_bytes block_bits 8 static const size_t block_words block_bytes 4 std.. block_bytes block_bits 8 static const size_t block_words block_bytes 4 std vector uint32_t K std vector uint32_t H std vector uint32_t.. sha1 make_block std string const in assert in.size block_bytes std vector uint32_t ret block_words for size_t i 0 i block_words..