常见编码
莫尔斯电码
用 . - 短停顿,中停顿,长停顿区分
http://rumkin.com/tools/cipher/morse.php
敲击码
通过 敲击次数和停顿来定位 波利比奥斯方格 中的字母
HTML编码
查看手册:http://www.w3school.com.cn/tags/html_ref_entities.html
Unicode编码
编译器连接:http://www.mxcz.net/tools/Unicode.aspx
四种编码方式
&#x[hex &#[Decimal] \U[hex] \U+[hex]
URL编码
用小葵吧~
UUencode
早期unix邮件系统中的编码
http://web.chacuo.net/charsetuuencode
XXencode
http://web.chacuo.net/charsetxxencode
Quoted-printable编码
存在于邮件头一种编码方式,原理参考原理
连接:http://www.mxcz.net/tools/QuotedPrintable.aspx
shellcode 编码
这个会涉及到一些比如说堆溢出的操作,msf中有着encode的脚本,感兴趣的同学可以尝试一下。
Base64/32/16
直接上python吧
import base64
str="fdsfasdfasdfsafd"
print base64.b16encode(str)
print base64.b32encode(str)
print base64.b64encode(str)
MD5,SHA , RSA
这些里面原理涉及非常多的东西。
在此不细说。
可能以后会单独拉出来写
换位加密
https://quipqiup.com/ 在线词频统计整理网站。也可以用WinDecrypto
强力推销!!!
栅栏密码
http://www.practicalcryptography.com/ciphers/classical-era/rail-fence/
曲线密码
约定好填充的行列数之后按照约定曲线路径
列位移
按照事先规定填充后<不满足则按照规定填充>后按照字母秘钥进行按列输出。
行列相等的填充规则列位移密码加密
http://www.practicalcryptography.com/ciphers/classical-era/columnar-transposition/
替换加密
ROW13
http://www.mxcz.net/tools/rot13.aspx
1.艾特巴什码
字母倒叙排列加密
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ZYW…
http://www.practicalcryptography.com/ciphers/classical-era/atbash-cipher/
2.凯撒密码
https://en.wikipedia.org/wiki/Caesar_cipher
26中解密变换的网站http://planetcalc.com/1434/
3.ROT5/13/18/37
http://www.qqxiuzi.cn/bianma/ROT5-13-18-47.php
比较可逆的愚蠢加密方式
4.简单替换密码
自己定义一种替换方式。
像1这样的替换方式。
主要可以通过统计词频来做。
http://quipqiup.com/index.php <翻墙>
也有大神写了个爬山算法http://www.practicalcryptography.com/cryptanalysis/stochastic-searching/cryptanalysis-simple-substitution-cipher/
5.希尔密码
通过线性代数的知识,将每个字母转换成n维向量后和nxn的矩阵相乘mod26
https://en.wikipedia.org/wiki/Hill_cipher
参考http://www.practicalcryptography.com/cryptanalysis/stochastic-searching/cryptanalysis-hill-cipher/
连接http://www.practicalcryptography.com/ciphers/hill-cipher/
6.猪圈密码
共济会密码,以格子代替密码
连接;http://www.simonsingh.net/The_Black_Chamber/pigpen.html
圣堂武士密码——被共济会的圣殿骑士所使用
变种很多
7. 波利奥比斯方针密码
参考:https://en.wikipedia.org/wiki/Polybius_square
通过把字母排在一个方阵中,(x,y)的值就是对应字母。
备注:5*5的时候,J=I
8. 夏多密码(曲折加密)
太罕见了。。
9. Bazeries密码
两个波利比奥斯方阵,
http://ruffnekk.stormloader.com/bazeries_tool.html
10.分组莫尔斯电码
http://ruffnekk.stormloader.com/fractmorse_tool.html
10.棋盘密码与跨棋盘密码
棋盘密码是把一个波利比奥斯方阵的两个秘钥作为替换密码
跨棋盘
http://www.practicalcryptography.com/ciphers/classical-era/straddle-checkerboard/
…
(未完待续)
代码混淆加密
1.asp混淆加密 http://www.zhaoyuanma.com/aspfix.html
2. php 混淆加密
2. css 混淆加密
4. VBScript混淆加密 https://www.dheart.net/decode/index.php 个人感觉,如果你浏览器读出来超多乱码,那么就是VBscript
5. ppencode 把perl全部转化成英文字符串http://namazu.org/~takesako/ppencode/demo.html
6. rrencode 把ruby全部转化成符号 http://www.lab2.kuis.kyoto-u.ac.jp/~yyoshida/rrencode.html
7. jj/aaencode 把JS全部转化成表情符号论文地址http://pferrie2.tripod.com/papers/jjencode.pdf http://utf-8.jp/public/aaencode.html
JJencode 原码分析github https://github.com/jacobsoo/Decoder-JJEncode
8. jsfuck http://www.jsfuck.com/ 用!+来写js程序
9. jother http://tmxk.org/jother/ 比jsfuck多了{}
10. brainfuck 用<>+-.,[]来写shell命令 或者用 ook ? 这样的东西。 http://www.splitbrain.org/services/ook