[WeChall] Training: Encodings I (Training, Encoding)

Training: Encodings I (Training, Encoding)
We intercepted this message from one challenger to another, maybe you can find out what they were talking about.
To help you on your progress I coded a small java application, called JPK.
Note: The message is most likely in english.

10101001101000110100111100110100
00011101001100101111100011101000
10000011010011110011010000001101
11010110111000101101001111010001
00000110010111011101100011110111
11100100110010111001000100000110
00011110011110001111010011101001
01011100100000101100111011111110
10111100100100000111000011000011
11001111100111110111110111111100
10110010001000001101001111001101
00000110010111000011110011111100
11110011111010011000011110010111
0100110010111100100101110


解题:
1.看到0和1,猜测是二进制askII 转换。
ASCII 码使用指定的7 位或8 位二进制数组合来表示128 或256 种可能的字符。
标准ASCII 码也叫基础ASCII码,使用7 位二进制数(剩下的1位二进制为0)来表示所有的大写和小写字母,数字0 到9、标点符号, 以及在美式英语中使用的特殊控制字符。
2.用给定的JPK进行Binary Format 转换,默认bitsperblock 是8,转换后发现多出1位不能整分,换用7,进行整分。
3.用给定的JPK进行Binary to ASCII转换即可。
This text is 7-bit encoded ascii. Your password is easystarter.

猜你喜欢

转载自www.cnblogs.com/xiaomulei/p/10113947.html