File tree Expand file tree Collapse file tree
src/main/java/org/cryptimeleon/math Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
88group = ' org.cryptimeleon'
99archivesBaseName = project. name
1010boolean isRelease = project. hasProperty(" release" )
11- version = ' 3.0.1 ' + (isRelease ? " " : " -SNAPSHOT" )
11+ version = ' 3.0.2 ' + (isRelease ? " " : " -SNAPSHOT" )
1212
1313sourceCompatibility = 1.8
1414targetCompatibility = 1.8
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public static BigInteger getRandomNonZeroNumber(BigInteger exclusiveUpperBound)
6363 }
6464
6565 /**
66- * Generates a random integer k with \(0 \leq k < 2^{\text{bitlength}}-1\).
66+ * Generates a random integer k with \(0 \leq k < 2^{\text{bitlength}}-1\).
6767 */
6868 public static BigInteger getRandomNumberOfBitlength (int bitlength ) {
6969 return impl .getRandomNumberOfBitlength (bitlength );
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ public int getExponentiationWindowSize() {
350350 * of the exponentiation algorithm, we do not recommend setting this too high as the cost of computing the
351351 * whole window quickly exceeds its performance benefits during the actual exponentiation.
352352 * <p>
353- * If you want to change the number of cached precomputations, use {@link this #setPrecomputationWindowSize(int)}.
353+ * If you want to change the number of cached precomputations, use {@link #setPrecomputationWindowSize(int)}.
354354 */
355355 public void setExponentiationWindowSize (int exponentiationWindowSize ) {
356356 g1 .setExponentiationWindowSize (exponentiationWindowSize );
Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ public int getExponentiationWindowSize() {
616616 * of the exponentiation algorithm, we do not recommend setting this too high as the cost of computing the
617617 * whole window quickly exceeds its performance benefits during the actual exponentiation.
618618 * <p>
619- * If you want to change the number of cached precomputations, use {@link this #setPrecomputationWindowSize(int)}.
619+ * If you want to change the number of cached precomputations, use {@link #setPrecomputationWindowSize(int)}.
620620 */
621621 public void setExponentiationWindowSize (int exponentiationWindowSize ) {
622622 groupTotal .setExponentiationWindowSize (exponentiationWindowSize );
Original file line number Diff line number Diff line change 1+ package org .cryptimeleon .math .structures .groups .elliptic .nopairing ;
2+
3+ import org .cryptimeleon .math .serialization .Representation ;
4+ import org .cryptimeleon .math .structures .groups .lazy .HashIntoLazyGroup ;
5+
6+ public class HashIntoSecp256k1 extends HashIntoLazyGroup {
7+ public HashIntoSecp256k1 () {
8+ super (new Secp256k1Impl .HashIntoSecp256k1 (), new Secp256k1 ());
9+ }
10+
11+ public HashIntoSecp256k1 (Representation repr ) {
12+ super (repr );
13+ }
14+ }
Original file line number Diff line number Diff line change 1+ package org .cryptimeleon .math .structures .groups .elliptic .nopairing ;
2+
3+ import org .cryptimeleon .math .serialization .Representation ;
4+ import org .cryptimeleon .math .structures .groups .basic .HashIntoBasicGroup ;
5+ import org .cryptimeleon .math .structures .groups .lazy .HashIntoLazyGroup ;
6+
7+ public class HashIntoSecp256k1Basic extends HashIntoBasicGroup {
8+ public HashIntoSecp256k1Basic () {
9+ super (new Secp256k1Impl .HashIntoSecp256k1 (), new Secp256k1Basic ());
10+ }
11+
12+ public HashIntoSecp256k1Basic (Representation repr ) {
13+ super (repr );
14+ }
15+ }
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ public int getExponentiationWindowSize() {
225225 * of the exponentiation algorithm, we do not recommend setting this too high as the cost of computing the
226226 * whole window quickly exceeds its performance benefits during the actual exponentiation.
227227 * <p>
228- * If you want to change the number of cached precomputations, use {@link this #setPrecomputationWindowSize(int)}.
228+ * If you want to change the number of cached precomputations, use {@link #setPrecomputationWindowSize(int)}.
229229 */
230230 public void setExponentiationWindowSize (int exponentiationWindowSize ) {
231231 this .exponentiationWindowSize = exponentiationWindowSize ;
You can’t perform that action at this time.
0 commit comments