Cryptography & Ciphers
Fernet Decryption
Apply Fernet Decrypt with explicit key, format, and algorithm settings. Enter the data and key material, choose the parameters, then review the result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Fernet Decryption uses Fernet to process the supplied input. Encryption returns a Fernet token; decryption returns the authenticated plaintext or fails verification. This record describes decryption or decoding for Fernet Decryption.
Encryption returns a Fernet token; decryption returns the authenticated plaintext or fails verification. This record describes decryption or decoding for Fernet Decryption. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings. Processing runs in the browser.
Fernet combines encryption and authentication for a token; it does not replace access control or secure key storage.
Instructions
- Provide text or data for this tool.
- Use a generated test key and do not paste a production key. This applies to Fernet Decryption.
- Copy the complete token without changing its URL-safe Base64 characters. This applies to Fernet Decryption.
- Decrypt with the same key and inspect authentication errors before retrying. This applies to Fernet Decryption.
Example
Input: Plaintext "Test message"; key: a public 32-byte URL-safe Base64 test key. Operation direction: decryption or decoding; algorithm: Fernet Decryption.
Settings: Fernet Decryption: Key: URL-safe Base64 Fernet key. Input: Text; output: the Fernet token string. Use the paired encrypt or decrypt operation.
Result: Encryption returns a Fernet token; decryption returns the authenticated plaintext or fails verification. This record describes decryption or decoding for Fernet Decryption. Processing runs in the browser for this catalog category, so the result depends on the supplied bytes and settings.
Limits
- Fernet Decryption: The operation cannot recover a missing or incorrect key.
- Fernet Decryption: Token validity does not identify the person who created it.
- Fernet Decryption: Use an application key-management system for production secrets.