Module java.base
Package javax.crypto

# Class KeyGenerator

=
public class KeyGenerator
extends java.lang.Object

## Constructors

- =
  protected KeyGenerator(javax.crypto.KeyGeneratorSpi arg0, java.security.Provider arg1, java.lang.String arg2)

## Methods

- =
  public final javax.crypto.SecretKey generateKey()
- =
  public final java.lang.String getAlgorithm()
- =
  public static final javax.crypto.KeyGenerator getInstance(java.lang.String arg0) throws java.security.NoSuchAlgorithmException
- =
  public static final javax.crypto.KeyGenerator getInstance(java.lang.String arg0, java.lang.String arg1) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
- =
  public static final javax.crypto.KeyGenerator getInstance(java.lang.String arg0, java.security.Provider arg1) throws java.security.NoSuchAlgorithmException
- =
  public final java.security.Provider getProvider()
- =
  public final void init(int arg0)
- =
  public final void init(int arg0, java.security.SecureRandom arg1)
- =
  public final void init(java.security.SecureRandom arg0)
- =
  public final void init(java.security.spec.AlgorithmParameterSpec arg0) throws java.security.InvalidAlgorithmParameterException
- =
  public final void init(java.security.spec.AlgorithmParameterSpec arg0, java.security.SecureRandom arg1) throws java.security.InvalidAlgorithmParameterException

## Summary

No differences.