Skip navigation links

Oracle Security Developer Tools Crypto Java API Reference
11g (11.1.1)

E10668-02


oracle.security.crypto.core
Class SHA1RandomBitsSource

java.lang.Object
  extended by oracle.security.crypto.core.RandomBitsSource
      extended by oracle.security.crypto.core.DigestRandomBitsSource
          extended by oracle.security.crypto.core.SHA1RandomBitsSource


public class SHA1RandomBitsSource
extends DigestRandomBitsSource

A PRNG based on the design pattern in Schneier's Applied Cryptography, using SHA-1 as a mixing and output primitive.

See Also:
EntropySource, DigestRandomBitsSource

Constructor Summary
SHA1RandomBitsSource()
          Create a new, seeded SHA1RandomBitsSource.
SHA1RandomBitsSource(boolean seed)
          Create a new, optionally seeded SHA1RandomBitsSource.

 

Method Summary

 

Methods inherited from class oracle.security.crypto.core.DigestRandomBitsSource
clear, initialize, randomByte, randomBytes, seed, seed, seed, seed

 

Methods inherited from class oracle.security.crypto.core.RandomBitsSource
getDefault, getRNGTest, randomBigInt, randomBigInteger, setDefault

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SHA1RandomBitsSource

public SHA1RandomBitsSource()
Create a new, seeded SHA1RandomBitsSource.

SHA1RandomBitsSource

public SHA1RandomBitsSource(boolean seed)
Create a new, optionally seeded SHA1RandomBitsSource.
Parameters:
seed - If true, DigestRandomBitsSource.seed() will be invoked.

Skip navigation links

Oracle Security Developer Tools Crypto Java API Reference
11g (11.1.1)

E10668-02


Copyright © 2005, 2009, Oracle. All rights reserved.