Practical Guide

AES Encryption/Decryption — Usage Guide and Technical Principles

Encrypt and decrypt text locally with authenticated AES-256-GCM. Legacy CryptoJS mode supports existing ciphertext.

Open tool

Overview

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption. Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

Key concepts

AES-256-GCM

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

PBKDF2-SHA256

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

Legacy CryptoJS

Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

Features

AES-256-GCM

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

PBKDF2-SHA256

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

Legacy CryptoJS

Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

JSON

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

Use cases

AES-256-GCM

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

Legacy CryptoJS

Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

JSON

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

Frequently Asked Questions

What key lengths does AES support and which should I use?

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

What is the difference between ECB, CBC, and GCM modes?

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption. Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

How do I securely store and share encryption keys?

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

Can I decrypt data encrypted with other AES tools?

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption. Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

Is my data uploaded or stored when using this tool?

AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption. Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

Related Documents

  • MDN Web Crypto: AES-GCM

    AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

  • MDN Web Crypto: deriveKey

    AES-256-GCM uses 600,000 PBKDF2-SHA256 iterations, a fresh random salt and IV, and authenticated encryption. Save the full JSON result for decryption.

  • CryptoJS documentation

    Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

  • OWASP Cryptographic Storage Cheat Sheet

    Legacy CryptoJS mode reads and writes salted OpenSSL Base64 with CBC. It has no authentication and is intended for existing ciphertext only.

AES Encryption/Decryption

Open the tool to try these features.

Open tool