LegacyCryptor constructor

LegacyCryptor(
  1. CipherKey cipherKey, {
  2. CryptoConfiguration cryptoConfiguration = const CryptoConfiguration(),
})

Implementation

LegacyCryptor(this.cipherKey,
    {this.cryptoConfiguration = const CryptoConfiguration()}) {
  cryptor = LegacyCryptoModule(defaultConfiguration: cryptoConfiguration);
}