Esempi
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.
Input
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!
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate bitcoin genesis newspaper headline
Input
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
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate a registry credential from kubernetes documentation
Input
tiger:pass1234Expected answer
gvtre:cnff1234gvtre:cnff1234
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate a checksum-sensitive log line with a final newline
Input
event=deploy status=ready
Expected answer
rirag=qrcybl fgnghf=ernql
rirag=qrcybl fgnghf=ernql
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate a french café in precomposed unicode
Input
caféExpected answer
pnsépnsé
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate a french café with a separate combining accent
Input
caféExpected answer
pnsŕpnsŕ
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate chinese text in a utf-8 request body
Input
你好,世界Expected answer
你好,世界你好,世界
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
Rotate a literal plus and space inside a url parameter
Input
release notes+A/B?Expected answer
eryrnfr abgrf+N/O?eryrnfr abgrf+N/O?
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
Off- Quantità
13
full loop
Input
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
- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
On- Quantità
26
full loop (negative shift amount)
Input
The Quick Brown Fox Jumped Over The Lazy Dog. 0123456789Expected rejection
Message containsThe Quick Brown Fox Jumped Over The Lazy Dog. 4567890123- Ruotare i caratteri minuscoli
On- Ruotare lettere maiuscole
On- Ruotare numeri
On- Quantità
-26