SymmetricEncryption
in
Table of Contents
Methods
decrypt()
public
decrypt(string $plainText, string $key[, string $cipher = 'AES-128-CBC' ]) : string
Parameters
- $plainText : string
- $key : string
- $cipher : string = 'AES-128-CBC'
Return values
string —encrypt()
public
encrypt(string $plainText, string $key[, string $cipher = 'AES-128-CBC' ]) : string
Parameters
- $plainText : string
- $key : string
- $cipher : string = 'AES-128-CBC'