clojure port of ed25519.py