Skip navigation links

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

E10668-02


oracle.security.crypto.core
Class MD5RandomBitsSource

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


public class MD5RandomBitsSource
extends DigestRandomBitsSource

A PRNG based on the design pattern in Schneier's Applied Cryptography, using the MD5 hash algorithm as a mixing and output primitive.

See Also:
EntropySource, DigestRandomBitsSource, SHA1RandomBitsSource

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

 

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

MD5RandomBitsSource

public MD5RandomBitsSource()
Create a new, seeded MD5RandomBitsSource.

MD5RandomBitsSource

public MD5RandomBitsSource(boolean seed)
Create a new, optionally seeded MD5RandomBitsSource.
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.