KeySet
Functions
serialize
Serialize KeysetCommitment.
function serialize(KeysetCommitment memory self) internal pure returns (bytes memory);
Parameters
Name | Type | Description |
---|---|---|
self | KeysetCommitment | KeysetCommitment. |
Returns
Name | Type | Description |
---|---|---|
<none> | bytes | Compressed serialized bytes of KeysetCommitment. |
hash_commitment
Hash commitment to BLS12-377 G2 element.
function hash_commitment(KeysetCommitment memory self) internal view returns (Bls12G2 memory);
Parameters
Name | Type | Description |
---|---|---|
self | KeysetCommitment | KeysetCommitment. |
Returns
Name | Type | Description |
---|---|---|
<none> | Bls12G2 | Bls12G2 point. |