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
Currently, Group.RandomScalar() returns a scalar from the group Z_p, which includes the zero element. Some protocols require randomly sampling a scalar from the set of scalars with a multiplicative inverse (Z_p^*). One can implement this with Group.RandomScalar, but I wonder if adding a function to the Group interface would be useful. Thoughts?
The text was updated successfully, but these errors were encountered:
Currently,
Group.RandomScalar()
returns a scalar from the group Z_p, which includes the zero element. Some protocols require randomly sampling a scalar from the set of scalars with a multiplicative inverse (Z_p^*). One can implement this withGroup.RandomScalar
, but I wonder if adding a function to the Group interface would be useful. Thoughts?The text was updated successfully, but these errors were encountered: