RevealTheme logo

AES-256加密

使用AES-256-GCM加密和解密文本。密钥通过PBKDF2-SHA256从你的口令派生而来。

如何使用本工具

  1. 1

    Choose 'Encrypt' or 'Decrypt' from the mode dropdown.

  2. 2

    Type a passphrase into the password field — you'll need the exact same one to decrypt later.

  3. 3

    Paste plain text to encrypt, or paste the base64 ciphertext to decrypt, into the text area.

  4. 4

    Click 'Run' and copy the result from the output box below.

什么是AES-256加密?

AES-256-GCM是对称加密的黄金标准:TLS、Signal以及大多数磁盘加密都在使用它。本工具在你的浏览器中使用Web Crypto API:每次加密都会随机生成盐值和IV,并对你的口令执行10万次PBKDF2迭代。输出以base64编码,以便安全传输。

常见使用场景

  • Encrypting a note, recovery phrase, or API key before pasting it into a chat, ticket, or shared document.

  • Sending a short secret to a teammate who has agreed on a passphrase through a separate channel.

  • Storing sensitive snippets in a password-protected form inside otherwise plain-text notes or a wiki.

  • Demonstrating how AES-GCM, PBKDF2 key derivation, and random IVs work for a class or code review.

  • Quickly checking that a base64 blob produced by this tool decrypts back to the expected text.

  • Adding a layer of protection to clipboard or backup text on a shared or untrusted machine.

常见问题

我的口令存储在哪里?
不存储在任何地方。它仅用于在内存中派生密钥,绝不会被发送或保存。
如果我丢失了口令会怎样?
数据将无法恢复。AES-256无法在任何合理的时间内被暴力破解。

相关工具