![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e195. Listing All Available Secure Random Number GeneratorsA secure random number generator can seed itself with unpredictable values and produce cryptographically strong pseudo-random numbers suitable for generating cryptographic keys. Retrieving the list of available secure random number
generators requires checking the services provided by all registered
providers. The retrieved list of names can be used in creating a
// This method is implemented in e194 Listing All Available Cryptographic Services String[] names = getCryptoImpls("SecureRandom");An example of the output: SHA1PRNG
e194. Listing All Available Cryptographic Services e196. Generating a Secure Random Number
© 2002 Addison-Wesley. |