Icard/angular-clarity-master(work.../node_modules/karma/lib/utils/crypto-utils.js

15 lines
207 B
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
'use strict'
const crypto = require('crypto')
const CryptoUtils = {
sha1 (data) {
return crypto
.createHash('sha1')
.update(data)
.digest('hex')
}
}
module.exports = CryptoUtils