EncryptedMessage constructor

EncryptedMessage({
  1. required Uint8List nonce,
  2. required Uint8List cipherText,
})

Implementation

EncryptedMessage({required Uint8List nonce, required Uint8List cipherText})
    : super.withConstraintRange((nonce + cipherText).toUint8List(),
          min: nonceLength, max: nonce.length + cipherText.length);