Skip to content

bsgrigorov/text-encrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encryption site

This is a simple site for encrypting any text data like passwords, credit card info, personal info, crypto keys, etc.

All encryption and decryption happens entirely in your browser — no data is ever sent to a server.

URL: https://encrypt-decrypt.me

Encryption specifics

Specs
Algorithm AES256-CBC-PBKDF2
Standard AES
Type CBC
Size of key 256 bits
Size of salt 8 bytes
KDF (Key derivation function) PBKDF2
KDF iterations 10,000
KDF hash SHA-256

No external libraries — uses the browser's built-in Web Crypto API.

Running

Open index.html in any modern browser, or serve it with any static web server.

Encrypt

Enter Text and Password, select Encrypt

Decrypt

Enter Cipher Text and Password, select Decrypt

OpenSSL compatibility

This is compatible encryption with OpenSSL aes-256-cbc -pbkdf2

Encrypt

echo -n "my-text" | openssl aes-256-cbc -a -p -pbkdf2 --pass pass:"my-password" 

Decrypt

Enter cipher text after echo

echo "U2FsdGVkX1/ybPS+ooh2sZDbd8mC0toqkvhcXhlpRIw=" | openssl aes-256-cbc -d -a -p -pbkdf2 --pass pass:"my-password" 

You can remove --pass flag and get a prompt for the password instead.