|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.util.crypt.AbstractCrypt org.apache.wicket.util.crypt.SunJceCrypt
public class SunJceCrypt
Provide some simple means to encrypt and decrypt strings such as passwords. The whole implementation is based around Sun's security providers and uses the PBEWithMD5AndDES method to encrypt and decrypt the data.
Constructor Summary | |
---|---|
SunJceCrypt()
Constructor |
Method Summary | |
---|---|
protected byte[] |
crypt(byte[] input,
int mode)
Crypts the given byte array |
Methods inherited from class org.apache.wicket.util.crypt.AbstractCrypt |
---|
decryptUrlSafe, encryptUrlSafe, getKey, setKey |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SunJceCrypt()
Method Detail |
---|
protected final byte[] crypt(byte[] input, int mode) throws java.security.GeneralSecurityException
crypt
in class AbstractCrypt
input
- byte array to be cryptedmode
- crypt mode
java.security.GeneralSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |