예제 #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _cryptor?.Dispose();
                _cryptor = null !;
            }

            base.Dispose(disposing);
        }
예제 #2
0
 private unsafe void OpenCryptor()
 {
     _cryptor = new AppleCCCryptorLite(
         _algorithm,
         _cipherMode,
         BlockSizeInBytes,
         _key,
         IV,
         _encrypting,
         _feedbackSizeInBytes,
         PaddingSizeInBytes);
 }