org.bouncycastle.crypto.generators

Class RSABlindingFactorGenerator

public class RSABlindingFactorGenerator extends Object

Generate a random factor suitable for use with RSA blind signatures as outlined in Chaum's blinding and unblinding as outlined in "Handbook of Applied Cryptography", page 475.
Method Summary
BigIntegergenerateBlindingFactor()
Generate a suitable blind factor for the public key the generator was initialised with.
voidinit(CipherParameters param)
Initialise the factor generator

Method Detail

generateBlindingFactor

public BigInteger generateBlindingFactor()
Generate a suitable blind factor for the public key the generator was initialised with.

Returns: a random blind factor

init

public void init(CipherParameters param)
Initialise the factor generator

Parameters: param the necessary RSA key parameters.