Documentation

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

Methods

base64_decode_url()

Formats a URL with base64_decode.

public base64_decode_url(string $string) : string
Parameters
$string : string
Return values
string

base64_encode_url()

Formats a URL with base64_encode.

public base64_encode_url(string $string) : string
Parameters
$string : string
Return values
string

decrypt()

OpenSSL Decrypts a value.

public decrypt(int $id) : string
Parameters
$id : int
Return values
string

encrypt()

OpenSSL Encrypts a value.

public encrypt(int $id) : string
Parameters
$id : int
Return values
string

        
On this page

Search results