Project Wonder 5.0

er.extensions.crypting
Class ERXAESCrypter

java.lang.Object
  extended by er.extensions.crypting.ERXAbstractAESCrypter
      extended by er.extensions.crypting.ERXAESCrypter
All Implemented Interfaces:
ERXCrypterInterface

public class ERXAESCrypter
extends ERXAbstractAESCrypter

ERXAESCrypter is an AES implementation of the crypter interface.

Author:
qdolan
Properties
er.extensions.ERXAESCipherKey the cipher key to use
           

Field Summary
 
Fields inherited from class er.extensions.crypting.ERXAbstractAESCrypter
log
 
Constructor Summary
ERXAESCrypter()
           
 
Method Summary
protected  java.security.Key secretKey()
          Generates a secret key from the System property er.extensions.ERXAESCipherKey.
 
Methods inherited from class er.extensions.crypting.ERXAbstractAESCrypter
blockSize, createCipher, decrypt, decryptCipher, encrypt, encryptCipher, setBlockSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXAESCrypter

public ERXAESCrypter()
Method Detail

secretKey

protected java.security.Key secretKey()
                               throws java.security.NoSuchAlgorithmException
Generates a secret key from the System property er.extensions.ERXAESCipherKey. This secret key is used when generating the AES cipher.

Specified by:
secretKey in class ERXAbstractAESCrypter
Returns:
a secret key for the cipher
Throws:
java.security.NoSuchAlgorithmException

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.