Published
Edited
Sep 26, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
fileBinaryStringResult = {
const reader = new FileReader();
reader.readAsBinaryString(fileBlob);
return new Promise((resolve,rej)=>{
reader.onload = function(e) {
resolve(e.target.result);
};
})
}
Insert cell
Insert cell
Insert cell
cryptojs.MD5(fileBinaryStringResult).toString()
Insert cell
nativeMD5( unescape( encodeURIComponent(fileBinaryStringResult) ) )
Insert cell
hashWasm.md5(fileBinaryStringResult)
Insert cell
hashWasm.md5("test")
Insert cell
nativeMD5("test")
Insert cell
Insert cell
Insert cell
cryptojs.SHA1(fileBinaryStringResult).toString()
Insert cell
nativeSHA1(fileBinaryStringResult)
Insert cell
hashWasm.sha1(fileBinaryStringResult)
Insert cell
Insert cell
Insert cell
Insert cell
cryptojs.SHA256(fileBinaryStringResult).toString()
Insert cell
hashWasm.sha256(fileBinaryStringResult)
Insert cell
nativeSHA256(fileBinaryStringResult)
Insert cell
Insert cell
Insert cell
cryptojs.SHA512(fileBinaryStringResult).toString()
Insert cell
hashWasm.sha512(fileBinaryStringResult)
Insert cell
nativeSHA512(fileBinaryStringResult)
Insert cell
Insert cell
Insert cell
cryptojs.HmacMD5(fileBinaryStringResult, "Secret Passphrase").toString()
Insert cell
Insert cell
cryptojs.HmacSHA1(fileBinaryStringResult, "Secret Passphrase").toString()
Insert cell
Insert cell
Insert cell
cryptojs.HmacSHA256(fileBinaryStringResult, "Secret Passphrase").toString()
Insert cell
Insert cell
cryptojs.HmacSHA512(fileBinaryStringResult, "Secret Passphrase").toString()
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more