Class RSABlindingFactorGenerator
java.lang.Object
org.bouncycastle.crypto.generators.RSABlindingFactorGenerator
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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerate a suitable blind factor for the public key the generator was initialised with.void
init
(CipherParameters param) Initialise the factor generator
-
Constructor Details
-
RSABlindingFactorGenerator
public RSABlindingFactorGenerator()
-
-
Method Details
-
init
Initialise the factor generator- Parameters:
param
- the necessary RSA key parameters.
-
generateBlindingFactor
Generate a suitable blind factor for the public key the generator was initialised with.- Returns:
- a random blind factor
-