info.aduna.gee.publication.util
Class WConfuse
java.lang.Object
info.aduna.gee.publication.util.WConfuse
public class WConfuse
- extends Object
The class that *must* be shared between client and server.
Passwords are sent "confused" over the wire and are "deconfused" by the server.
Encryption is by a fixed protocol that must be shared by client and server.
Note that after the "confused" password is intercepted, it may be reused for
services on the server. However, you can not use the password for the Zpad
client software itself (or for the forms in which you have to type in the
password -- such as the one that you use to change your password or e-mail address).
Therefore, if you want to hack around with the intercepted "confused" password
it will take a lot more effort and that's sufficient -- for now.
Deconfusing the password from the confused variant is definitely possible,
but -again- should be cumbersome.
|
Method Summary |
static String |
confuse(String in)
Create a String that can be sent over a public network and that
is not too easy to crack. |
static String |
deconfuse(String in)
Recreate the original String from the one that can be sent over a public network and that
is not too easy to crack. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WConfuse
public WConfuse()
confuse
public static String confuse(String in)
- Create a String that can be sent over a public network and that
is not too easy to crack.
deconfuse
public static String deconfuse(String in)
- Recreate the original String from the one that can be sent over a public network and that
is not too easy to crack.
Copyright © 1997-2008 Aduna. All Rights Reserved.