Ripemd160

Ripemd160

new Ripemd160()

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.

Ripemd160

new Ripemd160()

Calculate hash of a string with Ripemd160.

Example
import { Ripemd160 } 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.