\JCryptCipherSimple
JCrypt cipher for Simple encryption, decryption and key generation.
Synopsis
class JCryptCipherSimple
implements
JCryptCipher
{
- // methods
- public string decrypt()
- public string encrypt()
- public JCryptKey generateKey()
- private integer _hexToInt()
- private array _hexToIntArray()
- private string _intToHex()
Hierarchy
Implements
Methods
private
- _hexToInt() — Convert hex to an integer
- _hexToIntArray() — Convert hex to an array of integers
- _intToHex() — Convert an integer to a hexadecimal string.
public
- decrypt() — Method to decrypt a data string.
- encrypt() — Method to encrypt a data string.
- generateKey() — Method to generate a new encryption key[/pair] object.