Type Constant Library crypto.* Revision Release 2022.3683 Keywords crypto, SHA-384
Constant used to specify the SHA-384 algorithm.
crypto.sha384
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.sha384, "test" ) print( hash ) --> 7684...(etc.)..a0a9