2017年12月9日

普莱菲尔密码矩阵生成算法

摘要: python提供了普莱菲尔密码的加解密包:pycipher 下载地址:https://pypi.python.org/pypi/pycipher 安装:python setup.py install 基本使用: 输出: UKDNLHTGFLWUSEPWHLISNPCGCRGAUBVZAQIVTHEQ 阅读全文

posted @ 2017-12-09 17:16 gwind 阅读(1269) 评论(0) 推荐(0) 编辑

CTF密码学总结

摘要: CTF中那些脑洞大开的编码和加密 摘自:https://www.cnblogs.com/mq0036/p/6544055.html 0x00 前言 正文开始之前先闲扯几句吧,玩CTF的小伙伴也许会遇到类似这样的问题:表哥,你知道这是什么加密吗?其实CTF中脑洞密码题(非现代加密方式)一般都是各种古典 阅读全文

posted @ 2017-12-09 13:21 gwind 阅读(29729) 评论(1) 推荐(2) 编辑

盲文对照表

摘要: 摘自:https://wenku.baidu.com/view/28b04fd380eb6294dd886ca7.html 学点盲文 盲文又称点字,国际通用的点字由6个凸起的圆点为基本结构组成,是专供盲人摸读、书写的文字符号。1829年,法国盲人路易•布莱尔(Louls Braille,1809-1 阅读全文

posted @ 2017-12-09 02:06 gwind 阅读(99358) 评论(0) 推荐(0) 编辑

实验吧-古典密码

摘要: # *-* coding=utf-8 *-* strings = "79 67 85 123 67 70 84 69 76 88 79 85 89 68 69 67 84 78 71 65 72 79 72 82 78 70 73 69 78 77 125 73 79 84 65" strs = '' for i in strings.split(' '): strs += chr(in... 阅读全文

posted @ 2017-12-09 01:47 gwind 阅读(299) 评论(0) 推荐(0) 编辑

2017年12月8日

希尔加密与解密

摘要: 参考:http://bobao.360.cn/ctf/learning/136.html 实验吧:神秘字母 题目:http://www.shiyanbar.com/ctf/1892 这里a-z对应1-26 阅读全文

posted @ 2017-12-08 23:10 gwind 阅读(1829) 评论(0) 推荐(0) 编辑

python实现字符串之间的映射

摘要: 类似于凯撒密码一样的加密 阅读全文

posted @ 2017-12-08 13:55 gwind 阅读(762) 评论(0) 推荐(0) 编辑

RSAROLL

摘要: 题目:http://www.shiyanbar.com/ctf/1918 阅读全文

posted @ 2017-12-08 13:18 gwind 阅读(375) 评论(0) 推荐(0) 编辑

加了料的报错注入

摘要: 实验吧:加了料的报错注入 题目:http://www.shiyanbar.com/ctf/2011 阅读全文

posted @ 2017-12-08 12:57 gwind 阅读(646) 评论(0) 推荐(0) 编辑

2017年12月7日

RSA算法求明文

摘要: #注:gmpy2 的安装请参考 http://www.cnblogs.com/gwind/p/8000570.html# -*- coding: utf-8 -*- import gmpy2 print "素数p:" p = input () print "素数q:" q = input () n = p*q print "公钥e:" e = input () print "密文c:"... 阅读全文

posted @ 2017-12-07 18:58 gwind 阅读(1222) 评论(0) 推荐(0) 编辑

win7安装gmpy2

摘要: 1、下载地址:https://pypi.python.org/pypi/gmpy2 2、安装python和pip python 安装 下载: https://www.python.org/getit/ 配置python路径 pip 安装 进入python安装路径: C:\Python27\Scrip 阅读全文

posted @ 2017-12-07 18:54 gwind 阅读(508) 评论(0) 推荐(0) 编辑

导航