org.apache.wicket.util.crypt
Class TrivialCrypt
java.lang.Object
org.apache.wicket.util.crypt.AbstractCrypt
org.apache.wicket.util.crypt.TrivialCrypt
- All Implemented Interfaces:
- ICrypt
public class TrivialCrypt
- extends AbstractCrypt
THIS CLASS IS FOR TESTING PURPOSES ONLY. DO NOT USE IT IN PRODUCTION CODE!
- Author:
- Jonathan Locke
Method Summary |
protected byte[] |
crypt(byte[] input,
int mode)
Crypts the given byte array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrivialCrypt
public TrivialCrypt()
- Constructor
crypt
protected byte[] crypt(byte[] input,
int mode)
throws GeneralSecurityException
- Description copied from class:
AbstractCrypt
- Crypts the given byte array
- Specified by:
crypt
in class AbstractCrypt
- Parameters:
input
- byte array to be cryptedmode
- crypt mode
- Returns:
- the input crypted. Null in case of an error
- Throws:
GeneralSecurityException
- See Also:
AbstractCrypt.crypt(byte[], int)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.