Documentation

pm_Crypt
in package

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

Tags
since
17.8

Table of Contents

decrypt()  : string
Decrypt encrypted data using symmetric encryption algorithm
encrypt()  : string
Encrypt data using symmetric encryption algorithm

Methods

decrypt()

Decrypt encrypted data using symmetric encryption algorithm

public static decrypt(string $encryptedData) : string
Parameters
$encryptedData : string
Return values
string

encrypt()

Encrypt data using symmetric encryption algorithm

public static encrypt(string $plainData) : string
Parameters
$plainData : string

Data to encrypt

Return values
string

Search results