You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.crypto
Interface JSSSecureRandom

All Known Implementing Classes:
PK11SecureRandom

Deprecated. Use the JCA interface instead (SecureRandom)

public interface JSSSecureRandom

An interface for secure random numbers.


Method Summary
 void nextBytes(byte[] bytes)
          Deprecated. Retrieves random bytes and stores them in the given array.
 void setSeed(byte[] seed)
          Deprecated. Seed the RNG with the given seed bytes.
 void setSeed(long seed)
          Deprecated. Seed the RNG with the eight bytes contained in seed.
 

Method Detail

setSeed

void setSeed(byte[] seed)
Deprecated. 
Seed the RNG with the given seed bytes.


setSeed

void setSeed(long seed)
Deprecated. 
Seed the RNG with the eight bytes contained in seed.


nextBytes

void nextBytes(byte[] bytes)
Deprecated. 
Retrieves random bytes and stores them in the given array.