Skip to content

Using WebCrypto API in build in Google chrome it hashes an uploaded file.

Notifications You must be signed in to change notification settings

taher435/web-crypto-api-file-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Cryptography API - Hashing an uploaded file

Using WebCrypto API inbuild in Google chrome it hashes an uploaded file.

We use FileHandle API to access the uploaded file and then using crypto object in chrome we will generate the hash.

Use Case : It can be used to check if file already exists on server by just sending the hash instead of entire file to the server which results in saving bandwidth and also time.

Demo : https://jsbin.com

About

Using WebCrypto API in build in Google chrome it hashes an uploaded file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published