Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2013-10-28 10:01:32 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2013-10-28 10:01:32 +0400
commit65d37d6f5dfafecb729f83e45a8df70e6cad1c8c (patch)
tree17a8c80748c8544ffaec58f72cd5e0792aace454 /core
parent571a08bad62d72bab1cb89fa8c5e736db0e4dfa7 (diff)
BJA-391 marked ONE as final.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/engines/RSABlindedEngine.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/engines/RSABlindedEngine.java b/core/src/main/java/org/bouncycastle/crypto/engines/RSABlindedEngine.java
index e7fb9432..c9765bf8 100644
--- a/core/src/main/java/org/bouncycastle/crypto/engines/RSABlindedEngine.java
+++ b/core/src/main/java/org/bouncycastle/crypto/engines/RSABlindedEngine.java
@@ -1,5 +1,8 @@
package org.bouncycastle.crypto.engines;
+import java.math.BigInteger;
+import java.security.SecureRandom;
+
import org.bouncycastle.crypto.AsymmetricBlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.DataLengthException;
@@ -8,16 +11,13 @@ import org.bouncycastle.crypto.params.RSAKeyParameters;
import org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters;
import org.bouncycastle.util.BigIntegers;
-import java.math.BigInteger;
-import java.security.SecureRandom;
-
/**
* this does your basic RSA algorithm with blinding
*/
public class RSABlindedEngine
implements AsymmetricBlockCipher
{
- private static BigInteger ONE = BigInteger.valueOf(1);
+ private static final BigInteger ONE = BigInteger.valueOf(1);
private RSACoreEngine core = new RSACoreEngine();
private RSAKeyParameters key;