AES GCM 256 String encryption with PBKDF2 derived key


Important note: this program is doing what it promises but the programming itself is of very poor quality and for demonstration purposes only. Never ever use this program as source for your own programs because there are a lot of conversions to get it run.

Get more information about this program on my webpage AES GCM mode 256 PBKDF2 string encryption


Encryption

For encryption you need a password ("passphrase") and the plaintext to encrypt.

Insert your password:

Insert the string you like to encrypt:

press the encrypt button to proceed:

encrypted (ciphertext) in Base64 encoding:

Ciphertext is (Base64) salt : (Base64) nonce : (Base64) ciphertext : (Base64) gcmTag

Decryption

For decryption you need a password ("passphrase") and the encrypted ciphertext.

Insert your password:

Insert encrypted text (ciphertext) in Base64 encoding or press the "sample data" button or press the "copy data from encryption" button:



Ciphertext is (Base64) salt : (Base64) nonce : (Base64) ciphertext : (Base64) gcmTag

press the decrypt button to proceed:


decrypted plaintext:


Technical note: this program uses the PBKDF2 algorithm for key derivation and AES 256 GCM mode for encryption and authentication.