iaik.security.random
Class SHA1Random

java.lang.Object
  |
  +--java.util.Random
        |
        +--java.security.SecureRandom
              |
              +--iaik.security.random.SecRandom
                    |
                    +--iaik.security.random.MessageDigestRandom
                          |
                          +--iaik.security.random.SHA1Random
All Implemented Interfaces:
Serializable

public final class SHA1Random
extends MessageDigestRandom

A secure pseudo-random number generator based on an SHA-1 message digest. It uses the IAIK implementation of SHA-1. For all further information see the superclass.

Version:
File Revision 14
See Also:
MessageDigestRandom, SHA, Serialized Form

Constructor Summary
SHA1Random()
          Create a new SHA-1 based secure random.
 
Methods inherited from class iaik.security.random.MessageDigestRandom
engineNextBytes, engineSetSeed
 
Methods inherited from class iaik.security.random.SecRandom
getDefault, nextBytes, setDefault, setSeed, setSeed, setSeed
 
Methods inherited from class java.security.SecureRandom
generateSeed, getInstance, getInstance, getProvider, getSeed, next
 
Methods inherited from class java.util.Random
nextBoolean, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SHA1Random

public SHA1Random()
Create a new SHA-1 based secure random.

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK