AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
116 stars 70 forks source link

Use raw Affine little-endian form of g1/g2 for encoding to BLS public key / signature #1596

Closed arhag closed 1 year ago

arhag commented 1 year ago

Example for writing out bytes for a public key:

g1 pk = ...;
array<uint8_t, 96> msg = pk.toAffineBytesLE(true);

Something similar needed signatures.

linh2931 commented 1 year ago

Resolved by https://github.com/AntelopeIO/leap/pull/1600.