 Because there are 26 letters ( 2 × 13 ) in the basic Latin alphabet , ROT13 is its own 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 cryptographic security , and is often cited as a canonical example of weak encryption . 
