You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is unclear from the specification the format in which numbers are to be encoded for the purpose of calculating the extended base hash. For example, a public key for an election trustee could be encoded as:
a null-terminated ASCII string
a little-endian binary number with padding to the nearest byte boundary
a little-endian binary number with no padding
a little-endian two's complement-encoded number with padding to the nearest byte boundary
a little-endian two's complement-encoded number with no padding
a big-endian binary number with padding to the nearest byte boundary
a big-endian binary number with no padding
a big-endian two's complement-encoded number with padding to the nearest byte boundary
a big-endian two's complement-encoded number with no padding
Additionally, it should be made explicit the order in which trustee public keys are included in the base hash calculation. Presumably, the order is inherited from the order in which trustee public keys are enumerated in the json-serialized representation of the election. However, it is unsafe to assume this and should be made explicit for those constructing verifiers.
The text was updated successfully, but these errors were encountered:
It is unclear from the specification the format in which numbers are to be encoded for the purpose of calculating the extended base hash. For example, a public key for an election trustee could be encoded as:
Additionally, it should be made explicit the order in which trustee public keys are included in the base hash calculation. Presumably, the order is inherited from the order in which trustee public keys are enumerated in the json-serialized representation of the election. However, it is unsafe to assume this and should be made explicit for those constructing verifiers.
The text was updated successfully, but these errors were encountered: