02 2016 档案

摘要:base64编码原理: 例如: 实例一: #-*- coding: UTF-8 -*- __author__ = '007' __date__ = '2015/12/23' import base64 code = "aGV5LOatpOWkhOWtmOWcqGpvb21sYea8j+a0nu+8j 阅读全文
posted @ 2016-02-15 17:36 andr01la 阅读(2249) 评论(0) 推荐(0)
摘要:Q1:no acceptable C compiler found in $PATH A:yum -y install gcc Q2:红帽没有注册,无法使用yum A:vim /etc/yum.repo.d/XXXX.repo 将第一行的 -$basearch-debug 删除 将第二行的url=后 阅读全文
posted @ 2016-02-05 11:25 andr01la 阅读(189) 评论(0) 推荐(0)
摘要:一. 前期准备 系统:Red Hat Enterprise Linux Server release 5.5 (Tikanga) Apache: httpd-2.4.16.tar.gz Mysql: mysql-5.6.12-linux-glibc2.5-x86_64.tar.gz Php: php 阅读全文
posted @ 2016-02-05 11:10 andr01la 阅读(254) 评论(0) 推荐(0)
摘要:凯撒密码 简介:凯撒密码(Caesar)是最早的代换密码,对称密码的一种 算法:将每个字母用字母表中它之后的第k(称作位移值)个字母替代 代码: #-*-coding:utf-8-*- __author__ = 007 __date__ = 2016 / 02 / 04 #============= 阅读全文
posted @ 2016-02-04 21:00 andr01la 阅读(3731) 评论(0) 推荐(0)
摘要:意义:简单实现摩斯码的破译和生成 代码: #-*- coding: UTF-8 -*- __author__ = '007' __date__ = '2016/2/2' import pprint import re chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456 阅读全文
posted @ 2016-02-03 12:09 andr01la 阅读(3874) 评论(0) 推荐(0)