fork from here.
Like skynet lua-crypt
, But add md5
、crc32
、crc64
、sha256
、sha512
、hmac_md5
、hmac_sha256
、hmac_sha512
supported.
Note that this is a Lua C API implementation, And tested by exmaple/testsha.lua
file.
Copy all files in skynet-lua-crypt/src
to the luaclib-src
folder and replace the relevant files.
You can achieve fast compilation by simply replacing the skynet-lua-crypt/Makefile
file with the skynet/Makefile
file.
Finally, You need use make platform(linux/macosx/freebsd)
to build it.