Sign in
apache
/
pouchdb
/
refs/heads/add-pouch-find-docs
/
.
/
packages
/
node_modules
/
pouchdb-md5
/
src
/
stringMd5.js
blob: a7295b25fd7efb643c5176814aa8ce765d9b794e [
file
] [
log
] [
blame
]
import
crypto from
'crypto'
;
function
stringMd5
(
string
)
{
return
crypto
.
createHash
(
'md5'
).
update
(
string
,
'binary'
).
digest
(
'hex'
);
}
export
default
stringMd5
;