![]() |
The Java Developers Almanac 1.4 |
|
e458. Listing All Available Symmetric Key GeneratorsRetrieving the list of available key generators requires checking the services provided by all registered providers. The retrieved list of names can be used in creating aKeyGenerator object.
See also e459 Generating a Symmetric Key. // This method is implemented in e194 Listing All Available Cryptographic Services String[] names = getCryptoImpls("KeyGenerator");An example of the output: HmacSHA1
Blowfish
HmacMD5
TripleDES
DESede
DES
e460. Getting the Bytes of a Generated Symmetric Key
© 2002 Addison-Wesley. |