bls_sigs_ref icon indicating copy to clipboard operation
bls_sigs_ref copied to clipboard

Algorand's reference implementation of bls signature scheme

Results 3 bls_sigs_ref issues
Sort by recently updated
recently updated
newest added

Py implementation mentions zkcrypto repository. [Older version of readme](https://github.com/zkcrypto/pairing/blob/4197c5b24ec0bee7a4d5a6ab455e0c3041bc86d8/src/bls12_381/README.md) contains statement: > Fq2 elements are encoded in big-endian form, meaning that the Fq element c0 + c1 * u is...

Using this code produces correct P.x, but incorrect P.y. ```python # add to opt_swu_g2.py jp = map2curve_osswu2(b'abc', b'BLS12381G2_XMD:SHA-256_SSWU_RO_TESTGEN') print(from_jacobian(jp)) # => ((1953...ea02 + 0357...6175×i), (117e...db5d + 187c...62e7×i)) ``` See this...

This update changes the sgn0 function used by hash-to-curve to match the one in the latest hash-to-curve draft. Two things to note: 1. The serialization/deserialization procedures still use "big endian"...