org.dlese.dpc.util.strings
Class Rot13
java.lang.Object
org.dlese.dpc.util.strings.Rot13
public class Rot13
- extends Object
Basic Rot13 implementation. Rot13 is a two-way encryption algorithm, so the
same method is used for encrypting and decrypting.
- Author:
- Ryan Deardorff
Constructor Summary |
Rot13()
|
Method Summary |
static String |
crypt(String str)
Return an encrypted/decrypted version of the given string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rot13
public Rot13()
crypt
public static String crypt(String str)
- Return an encrypted/decrypted version of the given string
- Parameters:
str
-
- Returns: