Save This Page
Home » crypto-143 » org.bouncycastle.crypto » [javadoc | source]
    1   package org.bouncycastle.crypto;
    2   
    3   /**
    4    * base interface for general purpose byte derivation functions.
    5    */
    6   public interface DerivationFunction
    7   {
    8       public void init(DerivationParameters param);
    9   
   10       /**
   11        * return the message digest used as the basis for the function
   12        */
   13       public Digest getDigest();
   14   
   15       public int generateBytes(byte[] out, int outOff, int len)
   16           throws DataLengthException, IllegalArgumentException;
   17   }

Save This Page
Home » crypto-143 » org.bouncycastle.crypto » [javadoc | source]