For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.prng
Class Sha256RandomSpi

java.lang.Object
  extended byjava.security.SecureRandomSpi
      extended bygnu.crypto.jce.prng.SecureRandomAdapter
          extended bygnu.crypto.jce.prng.Sha256RandomSpi
All Implemented Interfaces:
java.io.Serializable

public class Sha256RandomSpi
extends SecureRandomAdapter

The implementation of the SHA-256 based SecureRandom Service Provider Interface (SPI) adapter.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
Sha256RandomSpi()
           
 
Method Summary
 byte[] engineGenerateSeed(int numBytes)
           
 void engineNextBytes(byte[] bytes)
           
 void engineSetSeed(byte[] seed)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sha256RandomSpi

public Sha256RandomSpi()
Method Detail

engineGenerateSeed

public byte[] engineGenerateSeed(int numBytes)

engineNextBytes

public void engineNextBytes(byte[] bytes)

engineSetSeed

public void engineSetSeed(byte[] seed)

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.