AesOpenSSL
in package
Table of Contents
Methods
- decrypt() : string
- Decrypt a text encrypted by AES in counter mode of operation
- encrypt() : string
- Unicode multi-byte character safe
- urs() : mixed
Methods
decrypt()
Decrypt a text encrypted by AES in counter mode of operation
public
static decrypt(mixed $ciphertext, mixed $password[, mixed $nBits = 256 ]) : string
Parameters
- $ciphertext : mixed
- $password : mixed
- $nBits : mixed = 256
Return values
string —decrypted text
encrypt()
Unicode multi-byte character safe
public
static encrypt(mixed $plaintext, mixed $password[, mixed $nBits = 256 ]) : string
Parameters
- $plaintext : mixed
- $password : mixed
- $nBits : mixed = 256
Return values
string —encrypted text
urs()
private
static urs(mixed $a, mixed $b) : mixed
Parameters
- $a : mixed
- $b : mixed