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()}")
}Вывод
64
pub(api) static fn sha3_512(input: bytes) -> bytesСложность. O(n) in the size of the input.
С версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
input | bytes |
Возвращает
bytes
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/crypto/crypto.oxl:183