anyone know how to get file MD5 from Filereader readAsArrayBuffer() ?
my current solution is using CryptoJS
- convert arraybuffer to base64
- decode base64 to binary string.
- use CryptoJS.MD5(p_str).toString(CryptoJS.enc.Hex).toUpperCase();
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.