Lua+ffi binding for sha2 (SHA-256, SHA-384 and SHA-512)