Random Key / IV Generator
Generate a random AES key, a 96-bit initialisation vector, or raw random bytes.
Hashing & encryption Client-side CSPRNG, hex or Base64 output
Tool preview
How to use it
- 01
Choose a key, an IV, or raw bytes.
- 02
Pick the size and the encoding (hex or Base64).
- 03
Generate and copy โ optionally with a matching IV.
Limitations
- ! Keys are shown on screen; copy them somewhere safe and clear the page afterwards.
- ! Nothing is stored, so a reload loses the key permanently.
- ! An IV is not secret, but it must never be reused with the same key.
FAQ
Which length should I use for AES?
16 bytes for AES-128, 24 for AES-192, 32 for AES-256.
What is an IV and does it need to be secret?
An IV does not need to be secret but must never be reused with the same key in modes like CBC or GCM. AES-GCM uses a 96-bit IV.
Is the randomness secure?
Yes, it comes from the browser CSPRNG.
Files never leave your device
Processing happens in your browser using the File API, WebAssembly and Web Workers. There is no upload endpoint.
Technical details
- Processing
- Client-side
- Implementation
- CSPRNG, hex or Base64 output
- Category
- Hashing & encryption
- Network requests
- None while processing