public interface KeyGenerator
KeyGenerator provides a simple API to securely-generate cryptographic keys.
Currently supported algorithm are defined in Algorithms| Modifier and Type | Method and Description |
|---|---|
byte[] |
initKey(Algorithms algorithm)
initialize and return a byte array containing a securely-generated cryptographic key.
|
byte[] initKey(Algorithms algorithm) throws CryptoException
algorithm - the standard string name of the algorithm.
Currently supported algorithm are defined
in Algorithms
The key will be suitable for storage.CryptoException - If any problem occurs while initializing the key"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"