C# Class Org.BouncyCastle.Utilities.BigIntegers

Exibir arquivo Open project: nonorganic/dssnet

Public Methods

Method Description
AsUnsignedByteArray ( BigInteger n ) : byte[]
AsUnsignedByteArray ( int length, BigInteger n ) : byte[]
CreateRandomInRange ( BigInteger min, BigInteger max, SecureRandom random ) : BigInteger

Private Methods

Method Description
BigIntegers ( ) : System

Method Details

AsUnsignedByteArray() public static method

public static AsUnsignedByteArray ( BigInteger n ) : byte[]
n Org.BouncyCastle.Math.BigInteger
return byte[]

AsUnsignedByteArray() public static method

public static AsUnsignedByteArray ( int length, BigInteger n ) : byte[]
length int
n Org.BouncyCastle.Math.BigInteger
return byte[]

CreateRandomInRange() public static method

public static CreateRandomInRange ( BigInteger min, BigInteger max, SecureRandom random ) : BigInteger
min Org.BouncyCastle.Math.BigInteger
max Org.BouncyCastle.Math.BigInteger
random Org.BouncyCastle.Security.SecureRandom
return Org.BouncyCastle.Math.BigInteger