UNPKG

@tracking-exposed/data

Version:
9 lines (7 loc) 150 B
// @flow import crypto from "crypto"; export const sha1 = (s: string): string => crypto .createHash("sha1") .update(s) .digest("hex");