ROT13 Encode/Decode

Encode or decode a string using the ROT13 cipher, where the same operation is used for both encoding and decoding.

Code

Utilities
str_rot13($str);

Parameters

The string to encode/decode.

Server

More PHP Snippets