Documentation

CryptoHelper
in package

Table of Contents

Methods

aesDecrypt()  : mixed
Função para desencriptar valuees
aesEncrypt()  : mixed
Função para encriptar valuees
calculateHash()  : string|null
decryptUrl()  : mixed
encryptUrl()  : mixed
getFullDecryptedURL()  : string
hashLog()  : mixed
shorterSecretKey()  : mixed
shorterSecretKeyLog()  : mixed

Methods

aesDecrypt()

Função para desencriptar valuees

public static aesDecrypt(mixed $value) : mixed
Parameters
$value : mixed

aesEncrypt()

Função para encriptar valuees

public static aesEncrypt(mixed $value) : mixed
Parameters
$value : mixed

calculateHash()

public static calculateHash(string $value, int $size[, string $algo = "md5" ]) : string|null
Parameters
$value : string
$size : int
$algo : string = "md5"
Return values
string|null

decryptUrl()

public static decryptUrl(mixed $url) : mixed
Parameters
$url : mixed

encryptUrl()

public static encryptUrl(mixed $url) : mixed
Parameters
$url : mixed

getFullDecryptedURL()

public static getFullDecryptedURL(string $full_url) : string
Parameters
$full_url : string
Return values
string

hashLog()

public static hashLog(mixed $value) : mixed
Parameters
$value : mixed

shorterSecretKey()

public static shorterSecretKey([mixed $size = 32 ]) : mixed
Parameters
$size : mixed = 32

shorterSecretKeyLog()

public static shorterSecretKeyLog([mixed $size = 32 ]) : mixed
Parameters
$size : mixed = 32

        
On this page

Search results