method sha2.sha384
The SHA-384 digest of input (48 bytes).
Example:
use std.crypto { sha2 }
use std.ser { bytesOf }
fn main() io {
print("{sha2.sha384(bytesOf(&"abc")).len()}")
}Output
48
pub(api) static fn sha384(input: bytes) -> bytesSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
input | bytes |
Returns
bytes
Effects
none declared (pure unless the body says otherwise)
Defined in: std/crypto/crypto.oxl:114