Type Constant Library crypto.* Revision Release 2022.3683 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 | ✓ | ✓ |
local crypto = require( "crypto" ) local hash = crypto.digest( crypto.md5, "test" ) print( hash ) --> 098f6bcd4621d373cade4e832627b4f6