KeyPair.generateSymmetric constructor
KeyPair.generateSymmetric(
- int bitLength
Generates a random symmetric KeyPair with specified bit length
Implementation
factory KeyPair.generateSymmetric(int bitLength) =>
KeyPair.symmetric(SymmetricKey.generate(bitLength));