DevTulz Online

Giải mã văn bản

All decryption is performed locally in your browser using the Web Crypto API. Your keys and data never leave your device.

Giải mã văn bản là gì?

Giải mã văn bản là quá trình chuyển đổi văn bản đã mã hóa (bản mã) trở lại dạng có thể đọc được ban đầu (bản rõ). Điều này đòi hỏi khóa giải mã và thuật toán chính xác.

Supported Algorithms:

Symmetric Decryption (AES):

  • AES-GCM (Recommended): Provides authenticated encryption with associated data (AEAD). Most secure for general use.
  • AES-CBC: Traditional block cipher mode. Requires padding.
  • AES-CTR: Counter mode. Converts block cipher to stream cipher.

Asymmetric Decryption (RSA):

  • RSA-OAEP: Uses private key for decryption. Requires the corresponding private key to the public key used for encryption.

Expected Input Format:

For AES algorithms: JSON with base64-encoded components

{"iv": "base64_encoded_iv", "data": "base64_encoded_ciphertext"}

Also supports legacy hex format:

{"iv": "hex_encoded_iv", "data": "hex_encoded_ciphertext"}

For RSA: Base64-encoded ciphertext only

base64_encoded_ciphertext

Cách sử dụng công cụ Giải mã văn bản

  1. Dán văn bản đã mã hóa vào hộp nhập.

  2. Chọn thuật toán đã được sử dụng trong quá trình mã hóa.

  3. Nhập khóa giải mã.

  4. Xem văn bản gốc.

  5. The decrypted text is automatically displayed as you type.

  6. Copy the decrypted result for use in your application.

Additional Tips:

  • For AES: Use the same secret key that was used for encryption
  • For RSA: You need the private key corresponding to the public key used for encryption
  • Automatic format detection: The tool automatically detects base64 or hex encoding
  • Error handling: If decryption fails, check that you're using the correct algorithm and key

Security Notes

This tool uses the browser's native Web Crypto API for secure decryption. All decryption happens locally in your browser - no data or keys are ever sent to external servers. Make sure you're using the correct algorithm and key that match the encryption method used. The tool supports both base64 (standard) and hex (legacy) encoding formats for AES encrypted data.

Important Notes:

  • All decryption happens locally in your browser using the Web Crypto API
  • Your private keys and secrets never leave your browser
  • For RSA decryption, you decrypt with a private key; the data was encrypted with the corresponding public key
  • Keep your private keys and secret keys secure - they are the only way to decrypt your data
  • The tool supports both base64 (standard) and hex (legacy) encoding formats

Giải mã văn bản mã hóa AES-256-GCM trực tiếp trong trình duyệt. Không có dữ liệu nào được gửi đến máy chủ.

Cần mã hóa văn bản? Hãy thử Công cụ Mã hóa Văn bản của chúng tôi →

Keywords: giải mã văn bản, giải mã AES-256, giải mã tin nhắn