blurts-server/sha1-utils.js

11 строки
192 B
JavaScript

// TODO: to be deprecated
'use strict'
const crypto = require('crypto')
function getSha1 (email) {
return crypto.createHash('sha1').update(email).digest('hex')
}
module.exports = getSha1