会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
长白山
博客园
首页
新随笔
联系
管理
订阅
2018年3月7日
python的os.urandom 的用途
摘要: Python中os.urandom(n)的作用 随机产生n个字节(0-255)的字符串,可以作为随机加密key使用~ [python] view plain copy >>> index = os.urandom(2) >>> print index 墿 >>> index = os.urandom
阅读全文
posted @ 2018-03-07 14:07 长白山
阅读(1496)
评论(0)
推荐(0)
公告