com.weavechain.ec.ECPointFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bulletproofs Show documentation
Show all versions of bulletproofs Show documentation
Bulletproofs Java Implementation
The newest version!
package com.weavechain.ec;
import com.weavechain.zk.bulletproofs.LinearCombination;
import java.util.List;
public interface ECPointFactory {
ECPoint basepoint();
ECPoint identity();
Scalar zero();
Scalar one();
Scalar minus_one();
LinearCombination one_lc();
LinearCombination zero_lc();
ECPoint fromCompressed(final byte[] data);
ECPoint fromUniformBytes(byte[] data);
Scalar fromBits(byte[] data);
Scalar fromBytesModOrderWide(byte[] data);
ECPoint mulOptimized(Scalar s1, Scalar s2, ECPoint p1, ECPoint p2);
ECPoint multiscalarMulOpt(Scalar s1, List s2, List s3, ECPoint p1, List p2, List p3);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy