org.wiztools.wizcrypt
Class CipherKey

java.lang.Object
  extended by org.wiztools.wizcrypt.CipherKey

public final class CipherKey
extends java.lang.Object

This is a Bean like class which just holds data.

See Also:
CipherKeyGen, WizCrypt

Field Summary
 javax.crypto.Cipher cipher
          The cipher object created using the password.
 byte[] passKeyHash
          The MD5 hash of the password.
 
Constructor Summary
CipherKey(javax.crypto.Cipher cipher, byte[] passKeyHash)
          The only constructor to create CipherKey object.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cipher

public final javax.crypto.Cipher cipher
The cipher object created using the password.


passKeyHash

public final byte[] passKeyHash
The MD5 hash of the password.

Constructor Detail

CipherKey

public CipherKey(javax.crypto.Cipher cipher,
                 byte[] passKeyHash)
The only constructor to create CipherKey object.

Parameters:
cipher - The cipher object created using the password.
passKeyHash - The MD5 hash of the password.


Copyright © 2007. All Rights Reserved.