This extension provides functions for interacting with various hash and encode/decode algorithms. The extension wraps the dmCrypt API from the Defold SDK to Lua.
To use this library in your Defold project, add the following URL to your game.project
dependencies:
https://github.com/defold/extension-crypt/archive/master.zip
We recommend using a link to a zip file of a specific release.
The API provides the following functions:
crypt.hash_sha1(source)
crypt.hash_sha256(source)
crypt.hash_sha512(source)
crypt.hash_md5(source)
crypt.encode_base64(source)
crypt.decode_base64(source)
The source code is available on GitHub
Did you spot an error or do you have a suggestion? Please let us know on GitHub!
GITHUB