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