Closed
Description
It's not crystally clear from the signatures alone here:
pub fn sign(
&self,
msg: &[u8],
dst: &[u8],
aug: &[u8],
)
The golang version is much clearer and can be tuned here:
if useHash {
q = HashToG2(msg, dst, augSingle)
} else {
q = EncodeToG2(msg, dst, augSingle)
}
How to make sign do EncodeToG2
instead of HashToG2
in rust?
Metadata
Metadata
Assignees
Labels
No labels