MCPcopy Index your code
hub / github.com/CashScript/cashscript / sha256

Function sha256

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

Source from the content-addressed store, hash-verified

5}
6
7export function sha256(payload: Uint8Array): Uint8Array {
8 return sha256Lib.hash(payload);
9}
10
11export function ripemd160(payload: Uint8Array): Uint8Array {
12 return ripemd160Lib.hash(payload);

Callers 14

debugging.test.tsFile · 0.90
signMessageMethod · 0.90
randomUtxoFunction · 0.90
randomTokenFunction · 0.90
randomNFTFunction · 0.90
sendRawTransactionMethod · 0.90
getLockScriptNameFunction · 0.90
signMessageMethod · 0.90
hash.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected