PHP Encode/Decode Functions

Functions:


These are basic string encoding/decoding functions I developed for use in flat-file data storage. They offer limited security to protect sensitive data from being viewed.

Usage:


Encode:

Decode:

Code:


 

Example #1:


Encode:

Result:
p3e4e4241674d2r4m4i5o464a4f2p3k5c2

Decode:

Result:
Please Encode Me!

Example #2:


Encode:

Result:
t3t5e434q494f2m4s5j5w544b4d2m3k5i2

Decode:

Result:
Please Encode Me!