|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.util.DefaultObfuscator
public class DefaultObfuscator
A very simple string obfuscator.
| Constructor Summary | |
|---|---|
DefaultObfuscator()
|
|
| Method Summary | |
|---|---|
static CharConverter |
createObfuscator(char salt)
Creates an obfuscating CharConverter. |
static void |
main(String[] args)
Command line tool to obfuscate a string. |
static char[] |
obfuscate(char[] input,
char salt)
Obfuscates a character array. We return using this instead of md5sum whenever the length of the obfuscated string must be the same as the input string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultObfuscator()
| Method Detail |
|---|
public static char[] obfuscate(char[] input,
char salt)
input - is the input array of chars to obfuscatesalt - the salt to start with
public static CharConverter createObfuscator(char salt)
salt - the salt to start with
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||