klyn.cryptography.KeyGenerator.getInstance
method
public static getInstance(algorithm as String) as KeyGenerator throws CryptoException:
DescriptionCompatibility factory for dynamic algorithm selection.
The preferred API is `AESKeyGenerator()`.
import klyn.cryptography
generator = KeyGenerator.getInstance("AES")
print(generator.algorithm)
ReturnsReady-to-use generator.