Skip to content

ApurboStarry/file-encrypter-decrypter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Encrypter-Decrypter

What it does

This is a web app that encrypts and decrypts files. Files are encrypted using the password provided by the user and can be decrypted only with the same password.

How it works

The cryptography operations used in this app are implemented using WebCrypto API. Files are encrypted using AES-GCM 256-bit symmetric encryption. The encryption key is derived from the password and a random salt using PBKDF2 derivation with 10000 iterations of SHA256 hashing.

The app uses JavaScript running in the browser to encrypt and decrypt files. All of the process is done in the client side meaning that the file uploaded by the user and password provided by the user do not leave browser during this process.