encrypt abstract method

Uint8List encrypt(
  1. Uint8List plaintext, [
  2. MutableMapping? extra
])

Encrypts plaintext data using this key.

plaintext is the raw binary data to encrypt. extra provides optional algorithm-specific parameters (e.g., "IV" for AES).

Returns the encrypted ciphertext as Uint8List.

Implementation

Uint8List encrypt(Uint8List plaintext, [MutableMapping? extra]);