Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
devtools
/
node_modules
/
karma
/
lib
/
utils
/
crypto-utils.js
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