Project Wonder 5.0

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()
           
ERXBlowfishCrypter(java.lang.String blowfishKey)
           
 
Method Summary
protected  java.security.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(java.lang.String blowfishKey)

ERXBlowfishCrypter

public ERXBlowfishCrypter()
Method Detail

secretBlowfishKey

protected java.security.Key secretBlowfishKey()
                                       throws java.security.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:
java.security.NoSuchAlgorithmException

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

Copyright © 2002 – 2007 Project Wonder.