Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.ec;
 
 
 
 class ECUtil
 {
    static BigInteger generateK(BigInteger nSecureRandom random)
    {
        int nBitLength = n.bitLength();
        BigInteger k;
        do
        {
            k = new BigInteger(nBitLengthrandom);
        }
        while (k.equals(.) || (k.compareTo(n) >= 0));
        return k;
    }
New to GrepCode? Check out our FAQ X