Sign in
cobalt
/
cobalt
/
5cb259d50f6e15a7a4b4262c245550c9e567a308
/
.
/
src
/
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