haskell implementation of DJ Bernstein's elligator. http://elligator.cr.yp.to/