文章分类 -  python

摘要:环境: centos 7.5+Python 2.7.5 1.下载pyCrypto安装包(https://www.dlitz.net/software/pycrypto/) wget https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2. 阅读全文
posted @ 2018-11-15 19:44 pangkr 阅读(2464) 评论(0) 推荐(0)
摘要:1.python 生成8位随机字符(模拟生成四个十六进制数) from string import join from random import sample join(sample('1234567890abcdef', 8)).replace c实现: char *p = (char *)ca 阅读全文
posted @ 2018-11-15 09:29 pangkr 阅读(84) 评论(0) 推荐(0)