aesCbc method

  1. @override
BlockCipherCbc 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
BlockCipherCbc aesCbc(List<int> aesKey, List<int> iv) {
  return CBC(aes(aesKey), iv);
}