lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> I spent all of yesterday translating 32-bit ISAAC to Lua

Another good exercise would be the cryptographic hash functions,
such as MD5 or SHA2 from this for C code instance

FWIW, the referenc doc on SHA <> defines the bitwise operations and says this in section 2.2.2::

	>> Right-shift operation, where x >> n is obtained by discarding the right- most n bits of the word x and then padding the result with n zeroes on the left.