\ticky\crypt\driveraes

Summary

Methods
Properties
Constants
encrypt()
decrypt()
__construct()
No public properties found
No constants found
No protected methods found
$config
N/A
createIv()
pad2Length()
trimEnd()
hexToStr()
$token
N/A

Properties

$config

$config : 

Type

$token

$token : 

Type

Methods

encrypt()

encrypt(  $str) : mixed

加密

Parameters

$str

Returns

mixed

decrypt()

decrypt(  $str) : mixed

解密

Parameters

$str

Returns

mixed

__construct()

__construct(  $config) 

Parameters

$config

createIv()

createIv(  $td) 

Parameters

$td

pad2Length()

pad2Length(  $text,   $padlen) 

Parameters

$text
$padlen

trimEnd()

trimEnd(  $text) 

Parameters

$text

hexToStr()

hexToStr(  $hex) 

Parameters

$hex