[WeChall] Training: Crypto - Caesar I (Crypto, Training)

Training: Crypto - Caesar I (Crypto, Training)
Crypto - Caesar I
As on most challenge sites, there are some beginner cryptos, and often you get started with the good old caesar cipher.
I welcome you to the WeChall style of these training challenges :)

Enjoy!
KYV HLZTB SIFNE WFO ALDGJ FMVI KYV CRQP UFX FW TRVJRI REU PFLI LEZHLV JFCLKZFE ZJ GSUESTWZREVX


  1. 由题意得,该密文为凯撒密码。
  • 凯撒密码


    [WeChall] Training: Crypto - Caesar I (Crypto, Training)_第1张图片
    凯撒密码
  1. 由于不知道移动了多少位 所以可以使用C++编写一段小程序来看看26种移动后情况
  • C++代码段
#include 
using namespace std;

int main()
{
    char str[]="KYV HLZTB SIFNE WFO ALDGJ FMVI KYV CRQP UFX FW TRVJRI REU PFLI LEZHLV JFCLKZFE ZJ GSUESTWZREVX";
    for(int j=0;j<26;j++)
    {
        for(int i=0;i
  1. Get flag
    可以看到一句明显的英文


    [WeChall] Training: Crypto - Caesar I (Crypto, Training)_第2张图片

注:每次刷新题目后所给的凯撒密码都不同 所以所得flag也将会不同

你可能感兴趣的:([WeChall] Training: Crypto - Caesar I (Crypto, Training))