method sha3.sha3_512
The SHA-3-512 digest of input (64 bytes).
Example:
use std.crypto { sha3 }
use std.ser { bytesOf }
fn main() io {
print("{sha3.sha3_512(bytesOf(&"abc")).len()}")
}Output
64
pub(api) static fn sha3_512(input: bytes) -> bytesComplexity. O(n) in the size of the input.
Since. 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:183