All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.crypto.provider.BlowfishKey

java.lang.Object
   |
   +----au.net.aba.crypto.provider.BlowfishKey

public class BlowfishKey
extends Object
implements SecretKey
A class wrapper for Blowfish keys.


Variable Index

 o ident

Constructor Index

 o BlowfishKey(byte[])
The basic constructor Keylength is variable up to 448 bits.

Method Index

 o getAlgorithm()
returns the algorithm for this key.
 o getEncoded()
returns an encoded representation of this key.
 o getFormat()
returns the format for this key.

Variables

 o ident
 public static final String ident

Constructors

 o BlowfishKey
 public BlowfishKey(byte rawKey[])
The basic constructor Keylength is variable up to 448 bits. (56 bytes)

Parameters:
rawKey - the bytes making up the key.

Methods

 o getAlgorithm
 public String getAlgorithm()
returns the algorithm for this key.

Returns:
the string "Blowfish"
 o getFormat
 public String getFormat()
returns the format for this key.

Returns:
the string "RAW"
 o getEncoded
 public byte[] getEncoded()
returns an encoded representation of this key.

Returns:
the key as a byte array

All Packages  Class Hierarchy  This Package  Previous  Next  Index