\pm_Crypt

Class for data encryption/decryption using AES-128 CBC (symmetric encryption algorithm)

Summary

Methods
Properties
Constants
encrypt()
decrypt()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

encrypt()

encrypt(string  $plainData) : string

Encrypt data using symmetric encryption algorithm

Parameters

string $plainData

Data to encrypt

Returns

string

decrypt()

decrypt(string  $encryptedData) : string

Decrypt encrypted data using symmetric encryption algorithm

Parameters

string $encryptedData

Returns

string