satazor / js-spark-md5

Lightning fast normal and incremental md5 for javascript
Do What The F*ck You Want To Public License
2.49k stars 467 forks source link

ArrayBuffer not producing same md5 as binary string #21

Closed nolanlawson closed 9 years ago

nolanlawson commented 9 years ago

This seems to be related to the incremental interface, because I cannot reproduce this bug when I try to do an md5 hash all at once.

I don't have a small reproducible test case yet for you, but if you check out the https://github.com/pouchdb/pouchdb/pull/3379 branch and run

npm install
npm run dev

then load this link in a browser, then you will see the failure.

Sorry for a lack of details; I will try to delve deeper unless you would like to investigate it yourself. (I'm a bit busy at the moment, but I thought it was prudent to let you know about this bug.)

nolanlawson commented 9 years ago

Bah, it turned out to be a bug in PouchDB. "Why do you only see the spec in your neighbor's eye..." ;)

satazor commented 9 years ago

No problem! Im still trying to find time to try pouchdb, keep up the great work.