• Jaromil's avatar
    implemented ECP.hashtopoint() for Coconut · bfc09a75
    Jaromil authored
    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.