UNPKG

@roochnetwork/rooch-sdk

Version:
12 lines (11 loc) 435 B
import { blake2b } from '@noble/hashes/blake2b'; import { sha3_256 } from '@noble/hashes/sha3'; import { sha256 } from '@noble/hashes/sha256'; import { sha512 } from '@noble/hashes/sha512'; import { Bytes } from '../types/index.js'; export { sha256 }; export { sha3_256 }; export { sha512 }; export { blake2b }; export declare const hash160: (msg: Bytes) => Uint8Array; export declare const sha256x2: (...msgs: Bytes[]) => Uint8Array;