# sha512 Implements Sha-512 hashing functions for a variety of input and outputs - [sha512AsU8a](#sha512asu8a) Creates sha-512 hash of the input. ## sha512AsU8a Creates sha-512 hash of the input. ```js sha512AsU8a (data: Uint8Array): Uint8Array ``` Returns a sha-512 `Uint8Array` from the supplied data. ```js import { sha512AsU8a } from '@polkadot/util-crypto'; sha512AsU8a(Uint8Array.from([...])) // => Uint8Array([...]) ```