UNPKG

@polkadot/util-crypto

Version:
3 lines (2 loc) 153 B
import type { HashType } from './types.js'; export declare function hasher(hashType: HashType, data: Uint8Array | string, onlyJs?: boolean): Uint8Array;