<PackageReference Include="SshNet.Security.Cryptography" Version="1.3.0" />

RIPEMD160

public sealed class RIPEMD160 : HashAlgorithm
Cryptographic hash function based upon the Merkle–Damgård construction.
using System.Security.Cryptography; namespace SshNet.Security.Cryptography { public sealed class RIPEMD160 : HashAlgorithm { private IHashProvider _hashProvider; public override int HashSize => _hashProvider.HashSize; public RIPEMD160() { _hashProvider = new RIPEMD160HashProvider(); } protected override void HashCore(byte[] array, int ibStart, int cbSize) { _hashProvider.HashCore(array, ibStart, cbSize); } protected override byte[] HashFinal() { return _hashProvider.HashFinal(); } public override void Initialize() { _hashProvider.Reset(); } protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { _hashProvider.Dispose(); _hashProvider = null; } } } }