Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet.
As of April 2026, Fernet Encryption is a WordPress fernet plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.7K+ times in total. Requires WordPress 6.4+ and PHP 8.0+. Available on WordPress.org since 2021. Last updated 1 year ago — may have compatibility concerns.
Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet.
Development was originally sponsered by Access Networks.
To setup your key, you need to add the following line to your wp-config file.
`
define( ‘FERNET_KEY’, ‘YOUR_FERNET_KEY’ );
`
If you choose not to setup your key, you will need to save a copy of the one provided upon activation of the plugin.
IMPORTANT: Changing your WordPress salts will invalidate the default Fernet key provided.
To encrypt data simply use $token = fernet_encrypt( 'YOUR MESSAGE' ) in your code.
To decrypt the data simply use fernet_decrypt( $token ) in your code.
You can use the following shortcode to encrypt:
[fernet-encrypt]YOUR MESSAGE[/fernet-encrypt]
You c…
| WordPress | 6.4+ requiredTested up to 6.7.5 |
| PHP | 8.0+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.