implemented ECP.hashtopoint() for Coconut
generically useful function, takes any input, hashes with SHA512 and maps it to a big number to be placed as point on curve. uses milagro's internal mapit() function which increments big until fitting on curve, to be enhanced in security by re-hashing.
src/lua/zenroom_ecdh.lua
0 → 100644
src/lua/zenroom_ecp.lua
0 → 100644
This diff is collapsed.
Please register or sign in to comment