C# Class NBitcoin.BouncyCastle.Utilities.BigIntegers

Exibir arquivo Open project: Nethereum/Nethereum

Public Methods

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

Method Details

AsUnsignedByteArray() public static method

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

AsUnsignedByteArray() public static method

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

CreateRandomInRange() public static method

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