Go to file
SI 512ecf13d6 use "1 + (h mod (n - 1))" instead of "mod n" to cast a hash to a private key
a private key must be in range [1, n - 1]

this change neatly eliminates the scenario where the private key value ends up being 0, though it was extremely unlikely to occur in the first place (and could not even be easily forced)

this changes the encoding -- players need to use the same encoding for submissions as the one used to post challenges
2024-04-05 01:40:07 +02:00
flag_encoder use "1 + (h mod (n - 1))" instead of "mod n" to cast a hash to a private key 2024-04-05 01:40:07 +02:00
cryptoctf.sol bump Solidity version pragma 2023-08-20 01:16:49 +00:00
main_cctf.txt import solutions 2022-12-07 10:46:50 +01:00
side_privacy.txt import solutions 2022-12-07 10:46:50 +01:00
side_rmrk.txt import solutions 2022-12-07 10:46:50 +01:00