aesCbc method

  1. @override
BuBlockCipherCbc aesCbc(
  1. List<int> aesKey,
  2. List<int> iv
)
override

Creates CBC mode with 16, 24 or 32-byte aesKey and 16-byte iv. Throws on invalid lengths.

Implementation

@override
BuBlockCipherCbc aesCbc(List<int> aesKey, List<int> iv) {
  return api.aesCbc(aesKey, iv).unwrapOrThrowCryptoError();
}