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

Hash() protected method

Hashes the specified data bytes.
protected Hash ( byte hashData ) : byte[]
hashData byte The hash data.
return byte[]
        protected virtual byte[] Hash(byte[] hashData)
        {
            using (var sha1 = CryptoAbstraction.CreateSHA1())
            {
                return sha1.ComputeHash(hashData, 0, hashData.Length);
            }
        }