{"id":146368,"date":"2021-09-02T05:45:05","date_gmt":"2021-09-02T05:45:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/fernet-encryption\/"},"modified":"2025-01-05T02:14:44","modified_gmt":"2025-01-05T02:14:44","slug":"fernet-encryption","status":"publish","type":"plugin","link":"https:\/\/srd.wordpress.org\/plugins\/fernet-encryption\/","author":17967069,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"6.7.5","requires":"6.4","requires_php":"8.0","requires_plugins":null,"header_name":"Fernet Encryption","header_author":"bhubbard, hubbardlabs","header_description":"Secure WordPress data with Fernet Encryption.","assets_banners_color":"d9d8dd","last_updated":"2025-01-05 02:14:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/hubbardlabs.com","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/fernet-encryption\/","header_author_uri":"https:\/\/hubbardlabs.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1722,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0.7":{"tag":"1.0.7","author":"bhubbard","date":"2021-10-08 16:28:38"},"1.1.0":{"tag":"1.1.0","author":"bhubbard","date":"2025-01-05 02:12:59"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2611628,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2611628,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2611628,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2611628,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.7","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12167,202804,600],"plugin_category":[54],"plugin_contributors":[80608,192894],"plugin_business_model":[],"class_list":["post-146368","plugin","type-plugin","status-publish","hentry","plugin_tags-encryption","plugin_tags-fernet","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-bhubbard","plugin_contributors-hubbardlabs","plugin_committers-bhubbard","plugin_committers-hubbardlabs"],"banners":{"banner":"https:\/\/ps.w.org\/fernet-encryption\/assets\/banner-772x250.png?rev=2611628","banner_2x":"https:\/\/ps.w.org\/fernet-encryption\/assets\/banner-1544x500.png?rev=2611628","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/fernet-encryption\/assets\/icon-128x128.png?rev=2611628","icon_2x":"https:\/\/ps.w.org\/fernet-encryption\/assets\/icon-256x256.png?rev=2611628","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet.<\/p>\n\n<p>Development was originally sponsered by Access Networks.<\/p>\n\n<h3>Setup your Key<\/h3>\n\n<p>To setup your key, you need to add the following line to your wp-config file.<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>define( 'FERNET_KEY', 'YOUR_FERNET_KEY' );\n    `<\/p>\n\n<p>If you choose not to setup your key, you will need to save a copy of the one provided upon activation of the plugin.<\/p>\n\n<p><em>IMPORTANT: Changing your WordPress salts will invalidate the default Fernet key provided.<\/em><\/p>\n\n<h3>How to Use<\/h3>\n\n<p>To encrypt data simply use <code>$token = fernet_encrypt( 'YOUR MESSAGE' )<\/code> in your code.<\/p>\n\n<p>To decrypt the data simply use <code>fernet_decrypt( $token )<\/code> in your code.<\/p>\n\n<p>You can use the following shortcode to encrypt:<\/p>\n\n<pre><code>[fernet-encrypt]YOUR MESSAGE[\/fernet-encrypt]\n<\/code><\/pre>\n\n<p>You can use the following shortcode to decrypt:<\/p>\n\n<pre><code>[fernet-decrypt]YOUR-FERNET-TOKEN[\/fernet-decrypt]\n<\/code><\/pre>\n\n<p>We have also added useful helper functions:<\/p>\n\n<ul>\n<li>fernet_get_post_meta<\/li>\n<li>fernet_add_post_meta<\/li>\n<li>fernet_update_post_meta<\/li>\n<li>fernet_get_user_meta<\/li>\n<li>fernet_add_user_meta<\/li>\n<li>fernet_update_user_meta<\/li>\n<li>fernet_add_option<\/li>\n<li>fernet_get_option<\/li>\n<li>fernet_update_option<\/li>\n<\/ul>\n\n<h3>Credit<\/h3>\n\n<ul>\n<li>Illustrations provided by undraw.co<\/li>\n<li>Fernent PHP modified from Kelvin Mo - Fernet-PHP<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Readme improvements<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Add support for WordPress Rest API.<\/li>\n<li>Add support for WordPress CLI.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Added Helper Functions.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Updated Readme<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updated Readme.<\/li>\n<li>Provided shortcodes for encrypting and decrypting.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/146368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=146368"}],"author":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hubbardlabs"}],"wp:attachment":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=146368"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=146368"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=146368"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=146368"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=146368"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=146368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}