blurts-server/sha1-utils.js

10 строки
169 B
JavaScript

"use strict";
const crypto = require("crypto");
function getSha1(email) {
return crypto.createHash("sha1").update(email).digest("hex");
}
module.exports = getSha1;