dedis / student_18_daga

Using daga for a login service
0 stars 2 forks source link

remove hashfactory from daga suite #13

Open sarkortrantor opened 6 years ago

sarkortrantor commented 6 years ago

and instead define functions Hash1() and Hash2() that should behave like RO's and returns Scalar of the groupS.

because this is what we want, we don't need a Hash.hash, and by doing so we can fulfill more easily the stated goal of the suite which is to easily switch implementations.

currently there is hash related code all over the place that do things that work only with SuiteEC or that is "over-complex"

sarkortrantor commented 6 years ago

TODO see where to use Hash2 ! (and what hash to use !)