All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.weavechain.ec.ECPointFactory Maven / Gradle / Ivy

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