Encryptor constructor

Encryptor({
  1. String? key,
  2. int? round,
})

Constructs an Encryptor instance with an optional key and round.

Implementation

Encryptor({String? key, int? round}) : _key = key ?? _defaultKey, _round = round ?? 10_000;