DevTulz Online

文本解密

所有解密都在您的浏览器中使用 Web Crypto API 本地执行。您的密钥和数据永远不会离开您的设备。

什么是文本解密?

文本解密是将加密(密文)转换回其原始可读形式(明文)的过程。这需要正确的解密密钥和算法。

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

如何使用文本解密工具

  1. 将加密文本粘贴到输入框中。

  2. 选择加密期间使用的算法。

  3. 输入解密密钥。

  4. 对于 RSA:以 PEM 格式粘贴您的私钥。

  5. 点击“解密”按钮即可查看原始文本。

  6. 使用眼睛图标显示/隐藏您的密钥以确保安全。

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

安全注意事项

此工具使用 Web Crypto API,完全在您的浏览器中运行。您的密钥和数据永远不会被发送到任何服务器。确保处理敏感数据时使用强密钥。

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

这个免费的在线文本解密工具快速、安全,完全在您的浏览器中运行。所有解密均使用Web Crypto API在本地执行-不会将数据发送到任何服务器。非常适合开发人员、安全专业人员以及需要解密使用AES或RSA算法加密的文本数据的任何人。

需要加密文本?试试我们的文本加密工具 →

Keywords: 文本解密在线, AES解密,解密文本, AES-GCM , AES-CBC , AES-CTR , RSA-OAEP ,安全文本解密,免费解密工具, Web Crypto API解密,客户端解密