![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
凯撒密码
凯撒密码是一种替换密码,通过移位替换来进行加密
前方是否可导?
随风而行,随心而行。
展开
-
第三届上海市大学生网络安全大赛------classical
decrypt 1,词频分析 接着解密: LyjtL3fvnSRlo2xvKIjrK2ximSHkJ3ZhJ2Hto3x9 import base64 s='LyjtL3fvnSRlo2xvKIjrK2ximSHkJ3ZhJ2Hto3x9' import pycipher import copy for i in range(26): c='' for j in range(len(s)): if s[j].isalpha(): if s[j].i原创 2020-08-01 16:18:53 · 277 阅读 · 0 评论 -
[UTCTF2020]basic-crypto
题目 analyze 转码 接着base64转码 凯撒密码 词频分析 flag decrypt str='01010101 01101000 00101101 01101111 01101000 00101100 00100000 01101100 01101111 01101111 01101011 01110011 00100000 01101100 01101001 01101011 01100101 00100000 01110111 01100101 00100000 01101000原创 2020-07-19 12:54:37 · 1486 阅读 · 0 评论 -
[AFCTF2018]Single
加密程序 #include <bits/stdc++.h> using namespace std; int main() { freopen("Plain.txt","r",stdin); freopen("Cipher.txt","w",stdout); map<char, char> f; int arr[26]; for(int i=0;i<26;++i){ arr[i]=i; } random_shuffle(arr,arr+26); for(in原创 2020-07-12 13:10:04 · 1342 阅读 · 0 评论