案例
Decode the text hidden inside Python's import-this module
Discover a real use of ROT13 and make clear that reversible letter substitution provides no secrecy.
输入
Gur Mra bs Clguba, ol Gvz Crgref
Ornhgvshy vf orggre guna htyl.
Rkcyvpvg vf orggre guna vzcyvpvg.
Fvzcyr vf orggre guna pbzcyrk.
Pbzcyrk vf orggre guna pbzcyvpngrq.
Syng vf orggre guna arfgrq.
Fcnefr vf orggre guna qrafr.
Ernqnovyvgl pbhagf.
Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.
Nygubhtu cenpgvpnyvgl orngf chevgl.
Reebef fubhyq arire cnff fvyragyl.
Hayrff rkcyvpvgyl fvyraprq.
Va gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff.
Gurer fubhyq or bar-- naq cersrenoyl bayl bar --boivbhf jnl gb qb vg.
Nygubhtu gung jnl znl abg or boivbhf ng svefg hayrff lbh'er Qhgpu.
Abj vf orggre guna arire.
Nygubhtu arire vf bsgra orggre guna *evtug* abj.
Vs gur vzcyrzragngvba vf uneq gb rkcynva, vg'f n onq vqrn.
Vs gur vzcyrzragngvba vf rnfl gb rkcynva, vg znl or n tbbq vqrn.
Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!Expected answer
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those!
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate bitcoin genesis newspaper headline
输入
The Times 03/Jan/2009 Chancellor on brink of second bailout for banksExpected answer
Gur Gvzrf 03/Wna/2009 Punapryybe ba oevax bs frpbaq onvybhg sbe onaxfGur Gvzrf 03/Wna/2009 Punapryybe ba oevax bs frpbaq onvybhg sbe onaxf
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate a registry credential from kubernetes documentation
输入
tiger:pass1234Expected answer
gvtre:cnff1234gvtre:cnff1234
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate a checksum-sensitive log line with a final newline
输入
event=deploy status=ready
Expected answer
rirag=qrcybl fgnghf=ernql
rirag=qrcybl fgnghf=ernql
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate a french café in precomposed unicode
输入
caféExpected answer
pnsépnsé
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate a french café with a separate combining accent
输入
caféExpected answer
pnsŕpnsŕ
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate chinese text in a utf-8 request body
输入
你好,世界Expected answer
你好,世界你好,世界
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
Rotate a literal plus and space inside a url parameter
输入
release notes+A/B?Expected answer
eryrnfr abgrf+N/O?eryrnfr abgrf+N/O?
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
Off- 数量
13
full loop
输入
The Quick Brown Fox Jumped Over The Lazy Dog. 0123456789Expected answer
UTF-8 text · exact bytesThe Quick Brown Fox Jumped Over The Lazy Dog. 6789012345The Quick Brown Fox Jumped Over The Lazy Dog. 6789012345
- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
On- 数量
26
full loop (negative shift amount)
输入
The Quick Brown Fox Jumped Over The Lazy Dog. 0123456789Expected rejection
Message containsThe Quick Brown Fox Jumped Over The Lazy Dog. 4567890123- 旋转小写字符
On- 旋转大写字符
On- 旋转数字
On- 数量
-26