crypto.sha224

Type Constant
Library crypto.*
Revision 2017.3060
Keywords crypto, SHA-224

Overview

Constant used to specify the SHA-224 algorithm.

Syntax

crypto.sha224

Gotchas

The crypto.digest() and crypto.hmac() functions are supported on a per-platform basis as follows:

Platform crypto.digest() crypto.hmac()
Android
iOS
macOS
Windows Desktop
Windows Phone 8

Example

local crypto = require( "crypto" )
local hash = crypto.digest( crypto.sha224, "test" )
print( hash )   --> 90a3...(etc)...a809