janfilips/blockchain-notary

Hashing problem

Closed this issue · 2 comments

Uncaught RangeError: Invalid string length
at encodeURIComponent ()
at Object.toBits (sjcl.js:11)
at sjcl.hash.sha256.update (sjcl.js:18)
at Function.sjcl.hash.sha256.hash (sjcl.js:17)
at FileReader. (notarise.js:108)

In same cases

Also crashing like on screenshot in some cases
desktop screenshot 2018 06 05 - 09 12 55 09

Need to replace hashing library for better one maybe...

Maybe in future. It is problem for huge files only.