会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
会动的耳朵
公告
日历
导航
博客园
首页
新随笔
新文章
联系
订阅
管理
2014年6月25日
php openssl 增加密钥
摘要: 生成私钥:openssl genrsa 1024 > private.key(注意,1024是密钥的长度,如果密钥较长,相应加密后的密文也会较长)生成公钥:openssl rsa -in private.key -pubout > public.key使用php的openssl 的函数加密和解密即可
阅读全文
posted @ 2014-06-25 15:11 会动的耳朵
阅读(170)
评论(0)
推荐(0)
编辑
Copyright © 2024 会动的耳朵
Powered by .NET 8.0 on Kubernetes