Encryptor
in package
Table of Contents
Properties
- $ciphering : string
- $iv_length : string
- $key : string
Methods
- __construct() : mixed
- base64_decode_url() : string
- Formats a URL with base64_decode.
- base64_encode_url() : string
- Formats a URL with base64_encode.
- decrypt() : string
- OpenSSL Decrypts a value.
- encrypt() : string
- OpenSSL Encrypts a value.
Properties
$ciphering
private
string
$ciphering
$iv_length
private
string
$iv_length
$key
private
string
$key
Methods
__construct()
public
__construct() : mixed
base64_decode_url()
Formats a URL with base64_decode.
public
base64_decode_url(string $string) : string
Parameters
- $string : string
Return values
stringbase64_encode_url()
Formats a URL with base64_encode.
public
base64_encode_url(string $string) : string
Parameters
- $string : string
Return values
stringdecrypt()
OpenSSL Decrypts a value.
public
decrypt(int $id) : string
Parameters
- $id : int
Return values
stringencrypt()
OpenSSL Encrypts a value.
public
encrypt(int $id) : string
Parameters
- $id : int