{"ScriptPreparationCode":"var data = new Uint32Array(1024);\r\nwindow.crypto.getRandomValues(data);\r\nvar dataBuffer = new Uint8Array(data);\r\ndata = String.fromCharCode.apply(null, dataBuffer);","TestCases":[{"Name":"wasm sha256","Code":"console.log(hashwasm.sha256(data));","IsDeferred":false},{"Name":"webcrypto sha256","Code":"crypto.subtle.digest(\u0022SHA-256\u0022, dataBuffer).then(function (hash) {console.log(hash);});","IsDeferred":false},{"Name":"wasm sha1","Code":"console.log(hashwasm.sha1(data));","IsDeferred":false},{"Name":"webcrypto sha1","Code":"crypto.subtle.digest(\u0022SHA-1\u0022, dataBuffer).then(function (hash) {console.log(hash);});","IsDeferred":false}]}