plugin-icon

Fernet Encryption

제작자: Hubbard Labs·
Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet.
버전
1.1.0
활성화된 설치 항목
10
최근 업데이트일
Jan 5, 2025
Fernet Encryption

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
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.7.4
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.