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