mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-12 05:44:53 +00:00
ee6316b26b
While Group::random shouldn't be used instead of a hash to curve, anyone who did would've previously been insecure and now isn't. Could've done a recover_x and a raw Point construction, followed by a cofactor mul, to avoid the serialization, yet the serialization ensures full validity under the standard from_bytes function. THis also doesn't need to be micro-optimized. |
||
---|---|---|
.. | ||
field.rs | ||
lib.rs |