private BN_rand ( |
||
rnd | ||
bits | int | |
top | int | |
bottom | int | |
return | int |
/// <summary> /// Calls BN_rand() /// </summary> /// <param name="bits"></param> /// <param name="top"></param> /// <param name="bottom"></param> /// <returns></returns> public static BigNumber Next(int bits, int top, int bottom) { BigNumber bn = new BigNumber(); Native.ExpectSuccess(Native.BN_rand(bn.Handle, bits, top, bottom)); return(bn); }