nl.warper.threefish
Class ThreefishSecretKey

java.lang.Object
  extended by nl.warper.threefish.ThreefishSecretKey
All Implemented Interfaces:
java.io.Serializable, java.security.Key, javax.crypto.SecretKey

public class ThreefishSecretKey
extends java.lang.Object
implements javax.crypto.SecretKey

JAVADOC .

Since:
4 nov 2008
Version:
$Revision: $
Author:
maartenb, $Author: $
See Also:
Serialized Form

Constructor Summary
ThreefishSecretKey(byte[] keyBytes)
          Temporary public constructor that builds a TreeFish compatible secret key.
ThreefishSecretKey(long[] keyWords)
           
 
Method Summary
 java.lang.String getAlgorithm()
          
 byte[] getEncoded()
          
 java.lang.String getFormat()
          
 int getKeySizeInWords()
           
 void getKeyWords(long[] keyWordsBuffer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreefishSecretKey

public ThreefishSecretKey(long[] keyWords)

ThreefishSecretKey

public ThreefishSecretKey(byte[] keyBytes)
Temporary public constructor that builds a TreeFish compatible secret key. To be replaced by a factory.

Parameters:
keyBytes - JAVADOC .
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()

Specified by:
getAlgorithm in interface java.security.Key
See Also:
Key.getAlgorithm()

getEncoded

public byte[] getEncoded()

Specified by:
getEncoded in interface java.security.Key
See Also:
Key.getEncoded()

getFormat

public java.lang.String getFormat()

Specified by:
getFormat in interface java.security.Key
See Also:
Key.getFormat()

getKeyWords

public void getKeyWords(long[] keyWordsBuffer)

getKeySizeInWords

public int getKeySizeInWords()