MCPcopy Create free account
hub / github.com/CashScript/cashscript / ripemd160

Function ripemd160

packages/utils/src/hash.ts:11–13  ·  view source on GitHub ↗
(payload: Uint8Array)

Source from the content-addressed store, hash-verified

9}
10
11export function ripemd160(payload: Uint8Array): Uint8Array {
12 return ripemd160Lib.hash(payload);
13}
14
15export function hash160(payload: Uint8Array): Uint8Array {
16 return ripemd160(sha256(payload));

Callers 2

hash.test.tsFile · 0.85
hash160Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected