<PackageReference Include="SSH.NET" Version="2020.0.0-beta1" />

SecureRandom

protected readonly IRandomGenerator generator

public SecureRandom()

public SecureRandom(IRandomGenerator generator)

Use the specified instance of IRandomGenerator as random source.

public static byte[] GetNextBytes(SecureRandom secureRandom, int length)

public virtual byte[] GenerateSeed(int length)

public virtual void NextBytes(byte[] buf, int off, int len)

public virtual int NextInt()

public virtual long NextLong()

public virtual void SetSeed(byte[] seed)

public virtual void SetSeed(long seed)