\Think\Crypt\DriverCrypt

Crypt 加密实现类

Summary

Methods
Properties
Constants
encrypt()
decrypt()
ed()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

encrypt()

encrypt(string  $str, string  $key, integer  $expire) : string

加密字符串

Parameters

string $str

字符串

string $key

加密key

integer $expire

有效期(秒)

Returns

string

decrypt()

decrypt(string  $str, string  $key) : string

解密字符串

Parameters

string $str

字符串

string $key

加密key

Returns

string

ed()

ed(  $str,   $key) 

Parameters

$str
$key