Project Wonder 5.0.0.8787

er.extensions.crypting
Class ERXBlowfishCrypter

java.lang.Object
  extended by er.extensions.crypting.ERXAbstractBlowfishCrypter
      extended by er.extensions.crypting.ERXBlowfishCrypter
All Implemented Interfaces:
ERXCrypterInterface

public class ERXBlowfishCrypter
extends ERXAbstractBlowfishCrypter

ERXBlowfishCrypter is a blowfish implementation of the crypter interface.

Author:
mschrag
Properties
er.extensions.ERXBlowfishCipherKey the blowfish key to use
           

Field Summary
 
Fields inherited from class er.extensions.crypting.ERXAbstractBlowfishCrypter
log
 
Constructor Summary
ERXBlowfishCrypter()
           
 
Method Summary
protected  Key secretBlowfishKey()
          Generates a secret key from the System property er.extensions.ERXBlowfishCipherKey.
 
Methods inherited from class er.extensions.crypting.ERXAbstractBlowfishCrypter
blockSize, createBlowfishCipher, 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

ERXBlowfishCrypter

public ERXBlowfishCrypter()
Method Detail

secretBlowfishKey

protected Key secretBlowfishKey()
                         throws NoSuchAlgorithmException
Generates a secret key from the System property er.extensions.ERXBlowfishCipherKey. This secret key is used when generating the blowfish cipher.

Specified by:
secretBlowfishKey in class ERXAbstractBlowfishCrypter
Returns:
a secret key for the blowfish cipher
Throws:
NoSuchAlgorithmException

Last updated: Wed, Jan 7, 2009 • 04:35 AM EST

Copyright © 2002 – 2007 Project Wonder.