BN_rand_range() 개인적인 메소드

private BN_rand_range ( IntPtr rnd, IntPtr range ) : int
rnd System.IntPtr
range System.IntPtr
리턴 int
예제 #1
0
        /// <summary>
        /// Calls BN_rand_range()
        /// </summary>
        /// <param name="range"></param>
        /// <returns></returns>
        public static BigNumber NextRange(BigNumber range)
        {
            BigNumber bn = new BigNumber();

            Native.ExpectSuccess(Native.BN_rand_range(bn.Handle, range.Handle));
            return(bn);
        }