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