Title: Fernet Encryption
Author: Hubbard Labs
Published: <strong>2.9.2021</strong>
Last modified: 5.1.2025

---

Hae lisäosia

![](https://ps.w.org/fernet-encryption/assets/banner-772x250.png?rev=2611628)

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.

![](https://ps.w.org/fernet-encryption/assets/icon-256x256.png?rev=2611628)

# Fernet Encryption

 [Hubbard Labs](https://profiles.wordpress.org/hubbardlabs/)

[Lataa](https://downloads.wordpress.org/plugin/fernet-encryption.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/fernet-encryption/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/fernet-encryption/#reviews)
 * [Kehitys](https://fi.wordpress.org/plugins/fernet-encryption/#developers)

 [Tuki](https://wordpress.org/support/plugin/fernet-encryption/)

## Kuvaus

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.

### Setup your Key

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._

### 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:

    ```
    [fernet-decrypt]YOUR-FERNET-TOKEN[/fernet-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

### Credit

 * Illustrations provided by undraw.co
 * Fernent PHP modified from Kelvin Mo – Fernet-PHP

## Arvostelut

There are no reviews for this plugin.

## Avustajat & Kehittäjät

“Fernet Encryption” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet
tämän lisäosan kehittämiseen.

Avustajat

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

[Käännä “Fernet Encryption” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/fernet-encryption)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/fernet-encryption/),
check out the [SVN repository](https://plugins.svn.wordpress.org/fernet-encryption/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/fernet-encryption/)
by [RSS](https://plugins.trac.wordpress.org/log/fernet-encryption/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

#### 1.0.7

 * Readme improvements

#### 1.0.6

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

#### 1.0.5

 * Added Helper Functions.

#### 1.0.4

 * Updated Readme

#### 1.0.3

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

#### 1.0.0

 * First release.

## Metatiedot

 *  Version **1.1.0**
 *  Last updated **2 vuotta sitten**
 *  Active installations **10+**
 *  WordPress version ** 6.4 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/fernet-encryption/)
 * Tags
 * [encryption](https://fi.wordpress.org/plugins/tags/encryption/)[security](https://fi.wordpress.org/plugins/tags/security/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/fernet-encryption/advanced/)

## Arvosanat

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/fernet-encryption/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/fernet-encryption/reviews/)

## Avustajat

 *   [ Hubbard Labs ](https://profiles.wordpress.org/hubbardlabs/)
 *   [ Brandon Hubbard ](https://profiles.wordpress.org/bhubbard/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/fernet-encryption/)

## Lahjoita

Haluatko tukea tämän lisäosan kehitystä?

 [ Tue tämän lisäosan tekijöitä ](https://hubbardlabs.com)