Encrypted.fromSecureRandom constructor

Encrypted.fromSecureRandom(
  1. int length
)

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

Implementation

Encrypted.fromSecureRandom(int length) : _bytes = SecureRandom(length).bytes;