blob: 9dc9a073d95e44800c973553481e201f467f344e [file] [log] [blame]
'use strict'
const crypto = require('crypto')
const CryptoUtils = {
sha1 (data) {
return crypto
.createHash('sha1')
.update(data)
.digest('hex')
}
}
module.exports = CryptoUtils