Class Rot47

  extended by

public class Rot47
extends Object

This class provides a static method that transforms data using the ROT-47 ASCII rotation technique, typically used for the purpose of disguising information where strong encryption isn't required but some simple obfuscation is useful.

ROT47 is an interesting symmetric obfuscation technique that rotates a partial range of ASCII characters by circularly shifting them 47 positions within the range of ASCII character 33 through 126, while leaving all other characters unchanged. ROT47 provides a greater degree of obfuscation than either ROT13 or ROT13.5 do.

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

Field Detail


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

See Also:
Constant Field Values
Method Detail


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

message - The string to transform
Transformed string