Key.fromLength constructor

Key.fromLength(
  1. int length
)

Creates an Encryption Key object from a length. The key is filled with length bytes generated by a Random.secure() generator

Implementation

Key.fromLength(int length) : super.fromLength(length);