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