DLEncryption_One

Encryption class based on AzDGCrypt.  Originally written by AzDG (sup.nosp@m.port@azdg.nosp@m..com)

Summary
DLEncryption_OneEncryption class based on AzDGCrypt.
Unique Methods
PreprocessPreprocess the given data.
Inherit Methods
DecryptDecrypt the given data using the given key.
EncryptEncrypt the given data using the given key.

Unique Methods

Preprocess

private function Preprocess($key,
$data)

Preprocess the given data.

Parameters

$key(string) The key used to encrypt and decrypt the given data.
$data(string) The data that is being encrypted or decrypted.

Returns

(string) The data after it has been proccessed.

Inherit Methods

Decrypt

public function Decrypt($key,
$data)

Decrypt the given data using the given key.

See

DLEncryption->Decrypt

Encrypt

public function Encrypt($key,
$data)

Encrypt the given data using the given key.

See

DLEncryption->Encrypt

private function Preprocess($key,
$data)
Preprocess the given data.
public function Decrypt($key,
$data)
Decrypt the given data using the given key.
public function Encrypt($key,
$data)
Encrypt the given data using the given key.
abstract public function Decrypt($key,
$data)
Decrypt the given data using the given key.
abstract public function Encrypt($key,
$data)
Encrypt the given data using the given key.