Oracle Security Developer Tools Crypto Java API Reference
10g (10.1.4.0.1)

B28171-01


oracle.security.crypto.core
Class MD5RandomBitsSource

java.lang.Object
  extended byoracle.security.crypto.core.RandomBitsSource
      extended byoracle.security.crypto.core.DigestRandomBitsSource
          extended byoracle.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.

 

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, 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.

Oracle Security Developer Tools Crypto Java API Reference
10g (10.1.4.0.1)

B28171-01


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