mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 11:08:45 +03:00
Use ++pit:nu:crub:crypto for network keypair generation
This commit is contained in:
parent
efe3b9a653
commit
6e33eea217
@ -43,5 +43,13 @@
|
||||
=+ manage-seed=(child-seed transfer-seed "manage" 0 shh)
|
||||
:- manage=(wallet-from-seed manage-seed)
|
||||
=+ urbit-seed=(child-seed manage-seed "urbit" 0 shh)
|
||||
~ ::TODO networking keypairs from seed
|
||||
=+ urbit=(pit:nu:crub:crypto (mul 8 wid.urbit-seed) dat.urbit-seed)
|
||||
=+ pub=pub:ex:urbit
|
||||
=+ sec=sec:ex:urbit
|
||||
:- ^= auth
|
||||
:- public=`@ux`(rsh 3 1 (end 3 33 pub))
|
||||
secret=`@ux`(rsh 3 1 (end 3 33 sec))
|
||||
^= crypt
|
||||
:- public=`@ux`(rsh 3 33 pub)
|
||||
secret=`@ux`(rsh 3 33 sec)
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user