Renci.SshNet.Security.KeyExchangeDiffieHellmanGroupExchangeSha256.Hash C# (CSharp) Method

Hash() protected method

Hashes the specified data bytes.
protected Hash ( byte hashBytes ) : byte[]
hashBytes byte Data to hash.
return byte[]
        protected override byte[] Hash(byte[] hashBytes)
        {
            using (var sha256 = CryptoAbstraction.CreateSHA256())
            {
                return sha256.ComputeHash(hashBytes);
            }
        }
    }
KeyExchangeDiffieHellmanGroupExchangeSha256