UNPKG

nitlix-crypto

Version:

😍 Another starting collection of hashing, salting and other encryption tools 🚀 for the back-end side of the web.

3 lines (2 loc) 172 B
export type HashMethods = "sha256" | "sha512" | "md5" | "sha1" | "sha224" | "sha384" | "ripemd160"; export default function (string: string, method?: HashMethods): string;