paritytech / parity-common

Collection of crates used in Parity projects
https://www.paritytech.io/
Apache License 2.0
290 stars 218 forks source link

Fixed hash type for BLS double public key type and BLS signature along with its DLEQ proof pair. #734

Closed drskalman closed 1 year ago

drskalman commented 1 year ago

Adds H896 and H1152 fixed hashed types. H896 = (48 Bytes for BLS signature + 32*2 for the two scalers for the DLEQ proof). H1152 = (48 Bytes for G1 Public key + 96 Bytes for G2 Public Key).

davxy commented 1 year ago

@drskalman please first read this : https://github.com/paritytech/substrate/pull/13618#discussion_r1151085564

davxy commented 1 year ago

Closed because we're not gonna need it