CryptoModule.aesCbcCryptoModule constructor

CryptoModule.aesCbcCryptoModule(
  1. CipherKey cipherKey, {
  2. dynamic defaultCryptoConfiguration = const CryptoConfiguration(),
})

Implementation

factory CryptoModule.aesCbcCryptoModule(CipherKey cipherKey,
    {defaultCryptoConfiguration = const CryptoConfiguration()}) {
  return CryptoModule(
      defaultCryptor: AesCbcCryptor(cipherKey),
      cryptors: <ICryptor>[
        LegacyCryptor(cipherKey,
            cryptoConfiguration: defaultCryptoConfiguration),
      ]);
}