|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--au.net.aba.crypto.spec.BlowfishKeySpec
A class that provides a specification for a Blowfish key.
Field Summary | |
static java.lang.String |
ident
|
Constructor Summary | |
BlowfishKeySpec(byte[] key)
Uses the first 56 bytes (if available) as the key, starting at 0 |
|
BlowfishKeySpec(byte[] key,
int offset)
Uses the first 56 bytes (if available) in key, beginning at offset, as the Blowfish key |
Method Summary | |
byte[] |
getKey()
Returns the Blowfish key. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String ident
Constructor Detail |
public BlowfishKeySpec(byte[] key) throws java.security.InvalidKeyException
key
- the byte array to use as key material.public BlowfishKeySpec(byte[] key, int offset) throws java.security.InvalidKeyException
key
- the byte array to use as key material.offset
- the offset to start at.Method Detail |
public byte[] getKey()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |