Type Constant Library crypto.* Revision 2017.3060 Keywords crypto, MD4
Constant used to specify the MD4 algorithm (Message-Digest algorithm 4).
crypto.md4
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.md4, "test" ) print( hash ) --> db346d691d7acc4dc2625db19f9e3f52