OxL Reference

method sha3.sha3_512

The SHA-3-512 digest of input (64 bytes).

Example:

oxl✓ checked in CI
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) -> bytes

Complexity. O(n) in the size of the input.

Since. 1.0.0-beta

Parameters

NameType
inputbytes

Returns

bytes

Effects

none declared (pure unless the body says otherwise)

Defined in: std/crypto/crypto.oxl:183

See also