Class Atbash

  extended by

public class Atbash
extends Object

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

Atbash is an interesting case-insensitive symmetric obfuscation technique that inverts letters by swapping with letters in the mirrored position from the opposite end 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 Atbash 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 Atbash algorithm.

message - The string to transform
Transformed string