onOffice WP Plugin

SymmetricEncryption

Table of Contents

decrypt()  : string
encrypt()  : string

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'
Return values
string

Search results