mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-09 03:52:13 +00:00
21 lines
544 B
Markdown
21 lines
544 B
Markdown
# sha224
|
|
|
|
```lua
|
|
kumo.digest.sha224(ARGS)
|
|
```
|
|
|
|
{{since('2025.12.02-67ee9e96')}}
|
|
|
|
Computes a SHA224 digest over each of the arguments in ARGS.
|
|
|
|
You may pass multiple arguments.
|
|
|
|
String arguments are intepreted as bytes and fed into the digest algorithm.
|
|
|
|
Other types are first encoded as a JSON string and that string is then fed
|
|
into the digest algorithm.
|
|
|
|
The returned value is a [Digest](index.md) object representing the digest
|
|
bytes. It has properties that can return the digest bytes or encoded in
|
|
a number of common and useful encodings.
|