Esempio n. 1
0
        public override void Close()
        {
            NBitcoin.Crypto.Internal.Security.Clear(_saltBuffer);
            NBitcoin.Crypto.Internal.Security.Clear(_digest);
            NBitcoin.Crypto.Internal.Security.Clear(_digestT1);

            _hmacAlgorithm.Clear();
        }
Esempio n. 2
0
        private void DisposeHmac()
        {
#if USEBC || WINDOWS_UWP || NETSTANDARD1X
            _hmacAlgorithm.Reset();
#else
            _hmacAlgorithm.Clear();
#endif
        }
Esempio n. 3
0
        public override void Close()
        {
            Security.Clear(_saltBuffer);
            Security.Clear(_digest);
            Security.Clear(_digestT1);

            _hmacAlgorithm.Clear();
        }
Esempio n. 4
0
        public override void Close()
        {
            Pandora.Client.Crypto.Currencies.Crypto.Internal.Security.Clear(_saltBuffer);
            Pandora.Client.Crypto.Currencies.Crypto.Internal.Security.Clear(_digest);
            Pandora.Client.Crypto.Currencies.Crypto.Internal.Security.Clear(_digestT1);
#if USEBC || WINDOWS_UWP || NETCORE
            _hmacAlgorithm.Reset();
#else
            _hmacAlgorithm.Clear();
#endif
        }