satazor / js-spark-md5

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

md5 file winjs #18

Closed hicgithub closed 10 years ago

hicgithub commented 10 years ago

I need to create a checksum Md5 of a file in a javascript application windows 8. Someone can help me?

satazor commented 10 years ago

I don't have any experience using the windows 8 sdk, perhaps you its better if you ask how to do it in stackoverflow.

hicgithub commented 10 years ago

In general, without thinking about windows 8, Can i create an MD5 checksum of a file?

satazor commented 10 years ago

Yes, there's an example in the readme

hicgithub commented 10 years ago

the Incremental usage right?

satazor commented 10 years ago

https://github.com/satazor/SparkMD5#hash-a-file-incrementally

That's how you would hash a file coming from an upload input. The logic should be the same in the windows 8 sdk, you just need how to read a file in chunks using it.