This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Fernet Encryption


Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet.

Setup your Key

To setup your key, you need to add the following line to your wp-config file.


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.

How to Use

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 can use the following shortcode to decrypt:


We have also added useful helper functions:

  • fernet_get_post_meta
  • fernet_add_post_meta
  • fernet_update_post_meta
  • fernet_get_user_meta
  • fernet_add_user_meta
  • fernet_update_user_meta
  • fernet_add_option
  • fernet_get_option
  • fernet_update_option


  • Illustrations provided by
  • Fernent PHP modified from Kelvin Mo – Fernet-PHP

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“Fernet Encryption” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “Fernet Encryption” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات


  • Readme improvements


  • Add support for WordPress Rest API.
  • Add support for WordPress CLI.


  • Added Helper Functions.


  • Updated Readme


  • Updated Readme.
  • Provided shortcodes for encrypting and decrypting.


  • First release.