protected override void Dispose(bool disposing) { if (disposing) { _cryptor?.Dispose(); _cryptor = null !; } base.Dispose(disposing); }
private unsafe void OpenCryptor() { _cryptor = new AppleCCCryptorLite( _algorithm, _cipherMode, BlockSizeInBytes, _key, IV, _encrypting, _feedbackSizeInBytes, PaddingSizeInBytes); }