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) ```