使用python实现简单的序列密码
来源:互联网 发布:数据库求质数的代码 编辑:程序博客网 时间:2024/06/05 23:45
使用python 实现简单的序列密码
#!/usrs/bin/env pythonprint '\nStream Ciphers:\n'before = 'One apple a day, keeps the doctor away!'after = ""i = 1for each in before: after += chr(ord(each)^(63+i)) if i == 4: i = 1print 'before: ',before,'\n'print 'after: ',after,'\n'revert = ""i = 1for each in after: revert += chr(ord(each)^(63+i)) if i == 4: i = 1print 'revert: ',revert,'\n'
0 0
- 使用python实现简单的序列密码
- Python 实现简单的密码判断
- 使用Python 完成凯撒密码的实现
- Python实现一个简单的Feistel结构的密码算法
- python-简单的用户与密码登录模块实现
- 无线局域网产品使用的SMS4密码算法简单实现
- 使用SharedPreferences实现简单的记住用户名和密码功能
- Python 使用list实现简单的堆栈
- Python 使用list实现简单的set
- Python 使用类实现简单的计时器
- Python 使用list实现简单的map
- python使用SimpleXMLRPCServer实现简单的rpc
- 序列化的简单实现
- Collatz序列的Python实现
- python的简单学习、简单使用模块、列表、元组、字典、序列、引用、
- python使用telnet实现弱密码登录
- 使用python实现简单爬虫
- 使用python实现简单爬虫
- python学习笔记一
- 大数据简介与大数据分析
- c++ 27——vector
- 自定义iOS的Back按钮(backBarButtonItem)和pop交互手势(interactivepopgesturerecognizer)
- express配置session的几种场景
- 使用python实现简单的序列密码
- SpringMVC整合Shiro
- Poj2247 Humble Numbers
- splay tree(伸展树)学习小结(一)
- 赫夫曼树及赫夫曼编码相关内容
- poj 3594 Escort of Dr. Who How 最短路spfa
- Application Fundamentals
- tp搜索页标题关键词高亮显示
- Michael Kors Diaper Bag the hot months clothing accessories in iconic and classy releases so that yo