urbit/try/bin/edve.hoon
2014-01-30 12:49:36 -08:00

19 lines
270 B
Plaintext

!:
:: /=try=/bin/edpk/hoon
::
:: ed25519 signature verification toy.
::
=> %= .
+
=> +
^/===/lib/cryo
==
|= [est=time eny=@uw]
|= [pk=@ s=@ m=@ ~]
^- bowl
:_ ~ :_ ~
:- %$
!> ?: (veri:ed s m pk)
'valid sig'
'invalid sig'