<PackageReference Include="SSH.NET" Version="2024.2.0" />

Renci.SshNet.Abstractions.CryptoAbstraction

static class CryptoAbstraction
public static byte[] GenerateRandom(int length)

Generates a Byte array of the specified length, and fills it with a cryptographically strong random sequence of values.

public static byte[] HashMD5(byte[] source)

public static byte[] HashSHA1(byte[] source)

public static byte[] HashSHA256(byte[] source)

public static byte[] HashSHA384(byte[] source)

public static byte[] HashSHA512(byte[] source)