Listing All Available Symmetric Key Generators
Retrieving 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 a KeyGenerator object.
See also Generating a Symmetric Key.
An example of the output:
// This method is implemented in Listing All Available Cryptographic Services
String[] names = getCryptoImpls("KeyGenerator");
HmacSHA1
Blowfish
HmacMD5
TripleDES
DESede
DES
Post a comment