Skip to main content

sha512

Computes the SHA-512 hash of the given value.

parametertypedescription
valuestringThe value to hash

Returns string: The SHA-512 hash of the input value.

Example

sha512.js
import { sha512 } from "@sinequa/atomic";

console.log(sha512("test"));
// Output: "ee26b0dd4af7e749aa1a8ee3c10ae99...b143732c304cc5fa9ad8e6f57f50028a8ff"