urbit/try/bin/edsi.hoon

21 lines
390 B
Plaintext
Raw Normal View History

2014-01-23 08:40:43 +04:00
!:
2014-01-31 00:46:11 +04:00
:: /=try=/bin/edsi/hoon
2014-01-23 08:40:43 +04:00
::
2014-01-24 02:55:56 +04:00
:: ed25519 signature toy.
2014-01-24 00:31:12 +04:00
::
:: Needless to say, don't use this for anything real. Not only will it be
:: embarrassingly slow, but it'll probably mail your private key to the NSA.
2014-01-23 08:40:43 +04:00
::
=> %= .
+
=> +
2014-01-31 00:46:11 +04:00
^/===/lib/cryo
2014-01-23 08:40:43 +04:00
==
|= [est=time eny=@uw]
2014-01-24 02:55:56 +04:00
|= [sk=@ pk=@ m=@ ~]
2014-01-23 08:40:43 +04:00
^- bowl
2014-01-24 02:12:11 +04:00
=+ si=(sign:ed m sk pk)
2014-01-23 08:40:43 +04:00
:_ ~ :_ ~
:- %$
2014-01-24 02:55:56 +04:00
!> `@ux`si