Documentation ¶
Index ¶
- func AddModBigInt(a *big.Int, b *big.Int, n *big.Int) *big.Int
- func Chameleon(m string, kG *bn256.G1) *big.Int
- func ChameleonP(m string, e *big.Int, s *big.Int, P *bn256.G1) *big.Int
- func CryptoRandBigInt(order *big.Int) *big.Int
- func GenCommitments(b, v *big.Int, bitWeights []*big.Int, bitKeys []*bn256.G1, G, H *bn256.G1) ([]*big.Int, []*big.Int, []*bn256.G1, []*bn256.G1, *bn256.G1)
- func GenRandomKeyPair() (*bn256.G1, *big.Int)
- func GenRangeProof(m string, b, v *big.Int, bitWeights []*big.Int, bitKeys []*bn256.G1, ...) ([]*big.Int, [][]*big.Int, []*bn256.G1, *bn256.G1)
- func GenRingSignatures(m string, bArr, vArr []*big.Int, CArr, CpArr []*bn256.G1, G, H *bn256.G1) ([]*big.Int, [][]*big.Int)
- func MulModBigInt(a *big.Int, b *big.Int, n *big.Int) *big.Int
- func SignAOS(allPublicks []*bn256.G1, mySecretk *big.Int, myPublickIdx int, m string) ([]*big.Int, []*big.Int)
- func SubModBigInt(a *big.Int, b *big.Int, n *big.Int) *big.Int
- func VerifyAOS(allPublicks []*bn256.G1, e0 *big.Int, sArr []*big.Int, m string) bool
- func VerifyRangeProof(m string, eArr []*big.Int, sArrArr [][]*big.Int, bitKeys, CArr []*bn256.G1, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenCommitments ¶
func GenRangeProof ¶
func GenRingSignatures ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.