Description: 收集前端后端经验技巧代码
blog (35174) php (20147) java (7272) nodejs (1030)
<?php /*************************************************************************** * Copyright (c) 2015 Baidu.com, Inc. All Rights Reserved * **************************************************************************/ /** * @file baidu_transapi.php * @author mouyantao([email protected]...
PHP用到mcrypt模块来实作AES,因此需要激活mcrypt模块在线MagicCrypt加密解密 http://www.txttool.com/t/?id=NjA2<?phpnamespace org\magiclen\magiccrypt; class MagicCrypt { private $iv; private $key; private $bit; public function __construct($key = '', $bit = 128, $iv = '') { switch ($bit) { ...
windows下 编译报错error: failed to run custom build command for openssl-sys v0.9.63解决办法:1.安装opensslWindows下:https://slproweb.com/products/Win32OpenSSL.html网站下载https://slproweb.com/download/Win64OpenSSL-1_0_2u.exe或https://slproweb.com/download/Win32OpenSSL-1_0_2u.exeLinux下:centos: yum install -y openss...