Skip to content

gl-el/files-hash

Repository files navigation

Files hash (React/TS)

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 image

Stack

React TypeScript CSS3 HTML5 Vite

Features

  • 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;

How to run locally

  • install dependencies
npm install
  • start local server via Vite
npm run dev