PHP RSA加密解密
摘要:
介绍 RSA算法属于非对称加密算法,非对称加密算法需要两个秘钥:公开密钥(publickey)和私有秘钥(privatekey).公开密钥和私有秘钥是一对,如果公开密钥对数据进行加密,只有用对应的私有秘钥才能解密;如果私有秘钥对数据进行加密那么只有用对应的公开密钥才能解密.因为加密解密使用的是两个不
JS模板引擎art-template
摘要:
version:4.12.2 GitHub地址下载:https://github.com/aui/art-template http://aui.github.io/art-template/zh-cn/ 下载文件后学习路径为:art-template-master\example\web-art-
PHP坐标系转换 WGS、BD09、GCJ-02
摘要:
<?php /** * @name Coordinate * @desc 坐标转换 */ class Coordinate { const x_PI = 52.35987755982988; const PI = 3.1415926535897932384626; const a = 6378245
MySQL查询时间戳格式化 和ThinkPHP查询时间戳转换
摘要:
1、mysql语句 格式化时间戳 select id,name,FROM_UNIXTIME(time,'%Y-%m-%d %H:%i:%s') as addtime from testtable where totaltime != ''; //time是时间戳字段,查出来之后是格式化的数据 ,重命