encrypt method

Uint8List encrypt(
  1. dynamic input
)

Implementation

Uint8List encrypt(/* String | Iterable<int> */ input) {
  if (input is String) {
    input = utf8.encode(input);
  }
  final padded = padder.pad(_encryptionEngine.blockSize, input);

  final encryptedBytes = _encryptionEngine.process(padded);

  return encryptedBytes;
}