Overview
>
klyn.cryptography
>
KeyPairGenerator
>
init
Version 0.1.2
Overview
Index
Tree
Deprecated
klyn.cryptography.KeyPairGenerator.init
method
public init(bits as Int) as Void throws CryptoException:
Description
Short alias for
initialize
.
Parameters
bits Key size in bits.
Throws
CryptoException when the size is invalid. ```klyn import klyn.cryptography generator = RSAKeyPairGenerator() generator.init(2048) ```