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 無法在任何合理的時間內被暴力破解。

相關工具