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.

// This method is implemented in Listing All Available Cryptographic Services String[] names = getCryptoImpls("KeyGenerator");
An example of the output:
HmacSHA1 Blowfish HmacMD5 TripleDES DESede DES

Post a comment

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.