shrub/gen/pope.hoon

26 lines
609 B
Plaintext
Raw Normal View History

2016-10-22 02:44:39 +03:00
:: Create a galactic generator and ames-ready fingerprint
2016-02-05 05:57:44 +03:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/pope/gen
2016-02-05 05:57:44 +03:00
::
/? 310
2015-09-12 00:15:25 +03:00
:: Input twitter keys
/- sole
!:
2016-08-11 20:50:58 +03:00
=+ cryp=crub
2015-09-12 00:15:25 +03:00
=+ [sole]
2015-09-12 03:24:51 +03:00
:- %ask
2016-08-11 21:15:06 +03:00
|= $: {now/@da eny/@uvJ bec/beak}
{{who/ship $~} $~}
2015-09-12 00:15:25 +03:00
==
^- (sole-result (cask tang))
%+ sole-yo leaf+"generating carrier {(scow %p who)} (#{(scow %ud who)})"
2015-09-12 00:15:25 +03:00
%+ sole-lo [%| %pope-pass "passphrase: "]
%+ sole-go (boss 256 (star prn))
|= fra/@t
2016-08-11 20:50:58 +03:00
=+ bur=(shaz (add who (shaz fra)))
=+ arc=(pit:nu:cryp 512 bur)
2015-09-12 00:15:25 +03:00
%+ sole-so %tang
:~ leaf+"generator: {(scow %uw bur)}"
leaf+"fingerprint: {(scow %uw fig:ex:arc)}"
2015-09-12 00:15:25 +03:00
==