Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.crypto.params;
 
Private key parameters for NaccacheStern cipher. For details on this cipher, please see http://www.gemplus.com/smart/rd/publications/pdf/NS98pkcs.pdf
    private BigInteger phi_n;
    private Vector     smallPrimes;

    
Constructs a NaccacheSternPrivateKey

Parameters:
g the public enryption parameter g
n the public modulus n = p*q
lowerSigmaBound the public lower sigma bound up to which data can be encrypted
smallPrimes the small primes, of which sigma is constructed in the right order
phi_n the private modulus phi(n) = (p-1)(q-1)
            int lowerSigmaBoundVector smallPrimes,
            BigInteger phi_n)
    {
        super(truegnlowerSigmaBound);
        this. = smallPrimes;
        this. = phi_n;
    }
    public BigInteger getPhi_n()
    {
        return ;
    }
    public Vector getSmallPrimes()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X