Type Constant Library crypto.* Revision 2017.3060 Keywords crypto, MD5
Constant used to specify the MD5 algorithm (Message-Digest algorithm 5).
crypto.md5
The crypto.digest() and crypto.hmac() functions are supported on a
Platform | crypto.digest() | crypto.hmac() |
---|---|---|
Android | ✓ | ✓ |
iOS | ✓ | ✓ |
macOS | ✓ | ✓ |
Windows Desktop | ✓ | ✓ |
Windows Phone 8 | ✓ | ✓ |
local crypto = require( "crypto" ) local hash = crypto.digest( crypto.md5, "test" ) print( hash ) --> 098f6bcd4621d373cade4e832627b4f6