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>[
        // ignore: deprecated_member_use_from_same_package
        LegacyCryptor(cipherKey,
            cryptoConfiguration: defaultCryptoConfiguration),
      ]);
}