ChaCha20 Encryption Tool
Fast stream cipher with Poly1305.
Key
IV/Nonce
Input
Result
What is ChaCha20?
ChaCha20 is a fast stream cipher. XChaCha20 adds a longer IV/Nonce. Poly1305 provides authentication (AEAD).
Benefits
- Fast software performance
- Side-channel resistant
- 256-bit security
- Modern standard
Variants
- ChaCha20 (12B IV/Nonce)
- XChaCha20 (24B IV/Nonce)
- Poly1305 (AEAD)
Scenarios
- Mobile security
- TLS 1.3
- WireGuard
- Disk encryption
Features
- Stream cipher
- No padding
- Random access
🚀 Usage Guide
- Key: Must be 32 bytes (256-bit)
- IV/Nonce: 12B for ChaCha20, 24B for XChaCha20
- AAD: For *-Poly1305 only, used for auth but not encrypted
- TAG: Required for decrypting *-Poly1305 data
- Important: Never reuse the same (Key, IV/Nonce) pair!
💡 FAQ
Why XChaCha20?
Longer 192-bit IV/Nonce avoids collisions with random generation.
What is Poly1305?
Ensures integrity. Decryption fails if data is tampered with.