com.internationalnetwork.security
Class Rot13

Object
  extended by com.internationalnetwork.security.Rot13

public class Rot13
extends Object

This class provides a static method that transforms data using the ROT-13 (also whimsically known as EBG-13) alphabetic rotation technique, typically used for the purpose of disguising information where strong encryption isn't required but some simple obfuscation is useful.

ROT13 (or EBG13) is an interesting case-insensitive symmetric obfuscation technique that rotates letters by circularly shifting them 13 positions within the confines of the English alphabet, while leaving all other characters unchanged. Where most messages are written using letters from the English alphabet, this method provides a useful disguise.


Field Summary
static String VERSION
          Version number of this Package (read-only).
 
Method Summary
static String transform(String message)
          Transforms a message using the ROT13 algorithm.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
Version number of this Package (read-only).

See Also:
Constant Field Values
Method Detail

transform

public static String transform(String message)
Transforms a message using the ROT13 algorithm.

Parameters:
message - The string to transform
Returns:
Transformed string