The best email service Special price start now only $1: Mailbux

WordPress Guides

PHP Encryption For Generating Fixed Length Encryption Strings

By |September 13th, 2020|Categories: wordpress, WordPress Guides|Tags: , , , |

Let's start with the actual PHP function:1. function XOREncryption($InputString, $KeyPhrase){2.   3.     $KeyPhraseLength = strlen($KeyPhrase);4.   5.     // Loop trough input string6.     for ($i = 0; $i //SALT$salt = 'my_special_phrase';//ENCRYPT$crypted = base64_encode(XOREncryption('my string', $salt));echo "Encrypted: " . $crypted . ""; The variable ' $salt ' plays a crucial role here.  It [...]

Do NOT follow this link or you will be banned from the site!

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

I accept I decline Privacy Center