UNPKG

hash-fns

Version:

easily create, assess, and assure hashes within a pit-of-success

9 lines (8 loc) 246 B
import { Hash } from '../../domain/Hash'; /** * a simple function which converts a string into an sha256 hash * * ref * - https://stackoverflow.com/a/48161723/3068233 */ export declare const asHashSha256: (message: string) => Promise<Hash>;