encryptCbcToHex method

String encryptCbcToHex(
  1. dynamic input, {
  2. Iterable<int>? iv,
  3. Padder padder = const PKCS7Padder(),
})

Implementation

String encryptCbcToHex(/* String | Iterable<int> */ input,
    {Iterable<int>? iv, Padder padder = const PKCS7Padder()}) {
  final encryptedBytes = encryptCbc(input, iv: iv, padder: padder);
  return hexEncoder.convert(encryptedBytes);
}