Example #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _keyAlgorithm?.Clear();
                _hmacHandle.TryDispose();
            }

            base.Dispose(disposing);
        }
Example #2
0
 /// <inheritdoc />
 protected override void Dispose(bool disposing)
 {
     _key.Clear();
     _hmac.Dispose();
 }