encrypt()
encrypt(string $str, string $key, integer $expire) : string
加密字符串
Parameters
string | $str | 字符串 |
string | $key | 加密key |
integer | $expire | 有效期(秒) |
Des 加密实现类 Converted from JavaScript to PHP by Jim Gibbs, June 2004 Paul Tero, July 2001 Optimised for performance with large blocks by Michael Hayworth, November 2001 http://www.netdealing.com