mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
Remove brew/hail/wear
This commit is contained in:
parent
347faa7cad
commit
40a31b550e
@ -989,33 +989,18 @@
|
|||||||
..nu(pub [cry=(puck:ed c) sgn=(puck:ed s)], sek `[cry=c sgn=s])
|
..nu(pub [cry=(puck:ed c) sgn=(puck:ed s)], sek `[cry=c sgn=s])
|
||||||
++ nol
|
++ nol
|
||||||
|= a/ring
|
|= a/ring
|
||||||
=+ [c=(rsh 8 1 a) s=(end 8 1 a)]
|
=+ [mag=(end 3 1 a) bod=(rsh 3 1 a)]
|
||||||
|
~| %not-crub-seckey ?> =('B' mag)
|
||||||
|
=+ [c=(rsh 8 1 bod) s=(end 8 1 bod)]
|
||||||
..nu(pub [cry=(puck:ed c) sgn=(puck:ed s)], sek `[cry=c sgn=s])
|
..nu(pub [cry=(puck:ed c) sgn=(puck:ed s)], sek `[cry=c sgn=s])
|
||||||
++ com
|
++ com
|
||||||
|= a/pass
|
|= a/pass
|
||||||
..nu(pub [cry=(rsh 8 1 a) sgn=(end 8 1 a)], sek ~)
|
=+ [mag=(end 3 1 a) bod=(rsh 3 1 a)]
|
||||||
|
~| %not-crub-pubkey ?> =('b' mag)
|
||||||
|
..nu(pub [cry=(rsh 8 1 bod) sgn=(end 8 1 bod)], sek ~)
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
::
|
::
|
||||||
++ brew :: create keypair
|
|
||||||
|= {a/@ b/@} :: width seed
|
|
||||||
^- acru
|
|
||||||
(pit:nu:crub a b)
|
|
||||||
::
|
|
||||||
++ hail :: activate public key
|
|
||||||
|= a/pass
|
|
||||||
^- acru
|
|
||||||
=+ [mag=(end 3 1 a) bod=(rsh 3 1 a)]
|
|
||||||
?> =('b' mag)
|
|
||||||
(com:nu:crub bod)
|
|
||||||
::
|
|
||||||
++ wear :: activate secret key
|
|
||||||
|= a/ring
|
|
||||||
^- acru
|
|
||||||
=+ [mag=(end 3 1 a) bod=(rsh 3 1 a)]
|
|
||||||
?> =('B' mag)
|
|
||||||
(nol:nu:crub bod)
|
|
||||||
::
|
|
||||||
++ trub :: test ed
|
++ trub :: test ed
|
||||||
|= msg/@tas
|
|= msg/@tas
|
||||||
^- @
|
^- @
|
||||||
|
Loading…
Reference in New Issue
Block a user