urbit/try/bin/edve.hoon

19 lines
270 B
Plaintext
Raw Normal View History

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