This app calculates SHA-1 hash for uploaded files using Web Crypto API. User can upload files traditional way or drag-n-drop them and copy calculated hash to clipboard. User recieves notification, if file hash has changed since last check.
My goal was to develop an application to practise differenet browser APIs, such as FileReader API, Crypto API, Clipboard API and make useful app for my friend.
![image](https://private-user-images.githubusercontent.com/118758307/296978966-52762050-c14f-4fb1-9ae8-5278759fd885.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjgyMjcsIm5iZiI6MTcyNDMyNzkyNywicGF0aCI6Ii8xMTg3NTgzMDcvMjk2OTc4OTY2LTUyNzYyMDUwLWMxNGYtNGZiMS05YWU4LTUyNzg3NTlmZDg4NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMlQxMTU4NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wM2ZjNmJmZDBjMTg3ZTZjNGQyZWJkOTU5YzMxNTc1MTEwNTZiNmNlOGJlOWYxZTJkZTNiNzI2MjM2NTZmMWZmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.q0-Y06Bwt-w8irBQ4EW2MpseEz-600biSEO9DjMr8x0)
![image](https://private-user-images.githubusercontent.com/118758307/296978669-2f0e4733-28e0-40ef-a0ff-1a74aa1e1029.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMjgyMjcsIm5iZiI6MTcyNDMyNzkyNywicGF0aCI6Ii8xMTg3NTgzMDcvMjk2OTc4NjY5LTJmMGU0NzMzLTI4ZTAtNDBlZi1hMGZmLTFhNzRhYTFlMTAyOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMlQxMTU4NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MDY2NjcwMGQwOTllOWM2YjYyZjI0N2YwOTQ5MTc4MzE2MmY4OGEzOThmNmMzYWJkMzJlZjllMWZkNDZkZjBiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0-8-1u53fak-Y7pfCcQlUW5m4OtbyGS6MXsA4V3zlqU)
- user can select or drag-n-drop file to upload;
- user can copy SHA-1 hash to clipboard;
- show notification, if the file has changed since last check;
- install dependencies
npm install
- start local server via Vite
npm run dev