\JSimplecrypt
JSimpleCrypt is a very simple encryption algorithm for encrypting/decrypting strings
Synopsis
class JSimplecrypt
{
- // members
- private JCrypt $_crypt;
- // methods
- public void __construct()
- public string decrypt()
- public string encrypt()
Members
private
- $_crypt
—
JCrypt
Encryption/Decryption Key
Methods
public
- __construct() — Object Constructor takes an optional key to be used for encryption/decryption. If no key is given then the secret word from the configuration object is used.
- decrypt() — Decrypt a string
- encrypt() — Encrypt a string