UNPKG

npaw-plugin-nwf

Version:
7 lines (6 loc) 294 B
/** * Returns the first 32 hex characters of the SHA-256 digest of the input. * Matches Android `StringUtil.generateHash` and iOS `sha256Hex32`, so hashes * produced here are wire-compatible with P2P peers on native platforms. */ export declare function sha256Hex32(input: string): string;