참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
function sha512(_data): string
Compute the cryptographic SHA2-512 hash of data.

Parameters

ParameterTypeDescription
_dataBytesLikeThe data to hash.

Returns

string The hash of the data.

Example

sha512('0x');

sha512('0x1337');

sha512(new Uint8Array([0x13, 0x37]));

Source

crypto/sha2.ts:71