AES 加密 / 解密 — Encrypt text with a password and paste the result into an email, a chat, or a file. The recipient decrypts with the same password.
Encryption and decryption run in your browser. The password and the message never leave the page.
Was AES 加密 / 解密 useful?
AES 加密 / 解密是什么?
Encrypt text with a password and paste the result into an email, a chat, or a file. The recipient decrypts with the same password.
Encryption is AES-256-GCM (authenticated, so tampering is detected). Keys are derived from the password with PBKDF2-SHA256 and 250,000 iterations. Everything runs in your browser — the password and the message never reach a server.
使用方法
-
Choose encrypt or decrypt
Two modes. Same password field, different input and output sides.
-
Pick a strong password
A random 20-character string is the right pick for sensitive data. Use the password generator if you do not have one.
-
Encrypt or decrypt
The result is a portable text envelope you can paste anywhere.
示例
Send a one-time secret in an email
Encrypt a password, a token, or a short message with a passphrase. Send the ciphertext in an email, share the passphrase by phone. The recipient pastes the ciphertext, enters the passphrase, and gets the original.
Plaintext: "Meeting at 3pm, use the back door" Password: "blue-river-42"
结果: A v1:base64... envelope that decrypts only with "blue-river-42".
Encrypt a note for yourself
Store a ciphertext in a note-taking app, a password manager, or a file. Decrypt it from any device with the password. Useful for API keys, recovery codes, or anything you do not want in plaintext.
Plaintext: an API key Password: a strong password you remember
结果: The ciphertext is safe to store. Only the password unlocks it.
常见问题
相关指南
How to Encrypt a Message with a Password (in Your Browser)
A practical guide to password-based encryption: how AES-GCM with PBKDF2 actually works, why the wire format matters for future compatibility, the common foot-guns (weak passwords, no integrity check, ECB mode), and how to encrypt a message in your browser without trusting a remote service with the plaintext.
The Myth of the Secure Password in 2026 (and What Actually Matters)
A "secure" password is no longer the bottleneck. The bottleneck is everything around the password. Here is what the threat model actually looks like in 2026, why a 16-character random password is not enough on its own, and the four things that actually keep you safe.
MD5 vs SHA-1 vs SHA-256 vs SHA-3: When to Use Each Hash Function
A practical guide to cryptographic hash functions: what a hash is for, the four real-world choices (MD5, SHA-1, SHA-256, SHA-3), the speed vs. security trade-offs, the deprecation timeline, and which one to use for each common use case.
相关工具
密码生成器
在您的浏览器中生成强随机密码。选择长度、字符类型和数量。不会上传任何内容。
密码强度检测器
真实评估密码强度——熵值、破解耗时和问题清单,全部在浏览器中本地计算。
哈希生成器
即时计算任意文本的 MD5、SHA-1、SHA-256 和 SHA-512 哈希值。
JWT 解码器
解码 JSON Web Tokens 以查看标头、负载和签名。免费、在浏览器中运行,无需上传。
Base64 编码器 / 解码器
将文本或文件编码为 Base64,或将 Base64 解码回原始形式。免费、在浏览器中运行,无需上传。
Base64 解码器
将 Base64 字符串解码回纯文本或文件。免费、在浏览器中运行,无需上传。
URL 编码器 / 解码器
对 URL 和查询字符串进行编码或解码,以便在 HTML、HTTP 和电子邮件中安全使用。免费、在浏览器中运行,无需上传。
Last reviewed: 2026-11-21