[go: nahoru, domu]

ROT13: Difference between revisions

Content deleted Content added
m Changed 15 to 13, as it was a typo
No edit summary
Line 2:
{{Use dmy dates|date=November 2023}}
[[File:ROT13_table_with_example.svg|right|frameless]]
'''ROT13''' ('''Rotate13''', "'''rotate by 13 places'''", sometimes hyphenated '''ROT-13''') is a simple letter [[substitution cipher]] that replaces a letter with the 13th letter after it in the [[latin alphabet]]. ROT13 is a special case of the [[Caesar cipher]] which was developed in ancient Rome.
 
Because there are 26 letters (2×13) in the [[ISO basic Latin alphabet|basic Latin alphabet]], ROT13 is its own [[inverse function|inverse]]; that is, to undo ROT13, the same [[algorithm]] is applied, so the same action can be used for encoding and decoding. The algorithm provides virtually no [[cryptography|cryptographic]] security, and is often cited as a canonical example of [[weak encryption]].<ref name=modern-cryptanalysis>{{cite book |title=Modern Cryptanalysis: Techniques for Advanced Code Breaking |author=Christopher Swenson |page=5 |publisher=John Wiley & Sons |date=17 March 2008 |isbn=978-0-470-13593-8 |url=https://books.google.com/books?id=oLoaWgdmFJ8C&pg=PA5 |access-date=5 October 2015 |archive-date=24 June 2016 |archive-url=https://web.archive.org/web/20160624151537/https://books.google.com/books?id=oLoaWgdmFJ8C&pg=PA5 |url-status=live }}</ref>