Scripts: PHP :: PHP security and encryption >> Library Article #4
|Encrypt a string in PHP
By: Erobo Team Member
Learn a simple way to encrypt a string using php.
In this article you will learn how to encrypt a string in php. The following algorithm uses the xor operator to encrypt every character in a string. Finally, It decrypts the encrypted string by taking the encrypted string and xor it with the bytes characters the other way around.
See other Scripts in PHP security and encryption
Submit Your Scripts:
|If you would like to have your PHP scripts published in this section please fill out
the form below: