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