anyone know how to get file MD5 from Filereader readAsArrayBuffer() ?
my current solution is using CryptoJS
this method get me correct MD5 but I hope to skip the part decode the base64. the suggestions I found is using readAsBinaryString() which deprecated function.
Thanks. Someone suggested spark-md5 which can calculate md5 from an array buffer directly:
SparkMD5.ArrayBuffer.hash(e.target.result)