722 B
722 B
Functions
sha512AsU8a
▸ sha512AsU8a(data: Uint8Array): Uint8Array
Defined in sha512/asU8a.ts:22
name: sha512AsU8a
signature: sha512AsU8a (data: Uint8Array): Uint8Array
summary: Creates sha-512 hash of the input.
description: Returns a sha-512 Uint8Array from the supplied data.
example:
import { sha512AsU8a } from '@polkadot/util-crypto';
sha512AsU8a(Uint8Array.from([...])); // => Uint8Array([...])
Parameters:
| Name | Type |
|---|---|
| data | Uint8Array |
Returns: Uint8Array