|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.digitalsanctuary.atg.crypto.AbstractEncryptor
com.digitalsanctuary.atg.crypto.AESEncryptor
A simple class for performing encryption/decryption operations using the AES cipher. * * @author Devon Hillard
Field Summary |
Fields inherited from class com.digitalsanctuary.atg.crypto.AbstractEncryptor |
CHAR_SET |
Constructor Summary | |
AESEncryptor(byte[] pKey)
|
|
AESEncryptor(java.lang.String pKey)
|
Method Summary | |
protected java.lang.String |
getAlgorithmName()
Returns the name of the algorithm this encryptor should use. |
Methods inherited from class com.digitalsanctuary.atg.crypto.AbstractEncryptor |
computeMAC, decrypt, decrypt, encrypt, encrypt, setKey |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AESEncryptor(byte[] pKey) throws EncryptorException
pKey
- * the byte[] key which should be used to instantiate the encryptor.
* @throws EncryptorException
* if the encryptor cannot be instantiated using the key and algorithm provided.public AESEncryptor(java.lang.String pKey) throws EncryptorException
pKey
- * the String key which should be used to instantiate the encryptor.
* @throws EncryptorException
* if the encryptor cannot be instantiated using the key and algorithm provided.Method Detail |
protected java.lang.String getAlgorithmName()
getAlgorithmName
in class AbstractEncryptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |