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