SHA512

SHA512

new SHA512()

Methods

fromString(hexStr)

Inherited From:

hex string to crypto.

Parameters:
Name Type Description
hexStr

a hex string.

hash(data)

to calculate hash.

Parameters:
Name Type Description
data

a string to calculate hash.

toString()

Inherited From:

crypto result to hex string.

SHA512

new SHA512()

Calculate hash of a string with SHA512.

Example
import { SHA512 } from "ultrain-ts-lib/src/crypto";

Extends

Methods

fromString(hexStr)

Inherited From:

hex string to crypto.

Parameters:
Name Type Description
hexStr

a hex string.

hash(data)

to calculate hash.

Parameters:
Name Type Description
data

a string to calculate hash.

toString()

Inherited From:

crypto result to hex string.