1
0
forked from Rowland/EG
EG/Cesium-1.132/node_modules/karma/lib/utils/crypto-utils.js
2025-08-25 17:48:13 +08:00

15 lines
207 B
JavaScript

'use strict'
const crypto = require('crypto')
const CryptoUtils = {
sha1 (data) {
return crypto
.createHash('sha1')
.update(data)
.digest('hex')
}
}
module.exports = CryptoUtils