public RSAKeyPair(privateKeyPem as String, publicKeyPem as String, bits as Int):
import klyn.cryptography keys = RSAKeyPairGenerator().generateKeyPair() copy = RSAKeyPair(keys.privateKeyPem, keys.publicKeyPem, keys.bits) print(copy.bits)