mirror of
https://github.com/urbit/shrub.git
synced 2024-12-12 10:29:01 +03:00
Standardize Argon2u parameters
This commit is contained in:
parent
3fc265a424
commit
8fc069eb79
@ -17,9 +17,8 @@
|
|||||||
++ argon2u
|
++ argon2u
|
||||||
|= [inp=byts out=@ud]
|
|= [inp=byts out=@ud]
|
||||||
^- @
|
^- @
|
||||||
%. [inp (to-byts 'urbitkeygen')]
|
%- (argon2-urbit:argon2:crypto out)
|
||||||
%- argon2:argon2:crypto
|
[inp (to-byts 'urbitkeygen')]
|
||||||
[out %u 0x13 1 1.024 10 *byts *byts]
|
|
||||||
::
|
::
|
||||||
++ child-node-from-seed
|
++ child-node-from-seed
|
||||||
|= [seed=byts met=meta pass=(unit @t)]
|
|= [seed=byts met=meta pass=(unit @t)]
|
||||||
|
@ -3693,12 +3693,9 @@
|
|||||||
::
|
::
|
||||||
:: shorthands
|
:: shorthands
|
||||||
::
|
::
|
||||||
++ argon2-minimal
|
|
||||||
(argon2 32 %id 0x13 1 8 1 *byts *byts)
|
|
||||||
::
|
|
||||||
::TODO discuss and standardize?
|
|
||||||
++ argon2-urbit
|
++ argon2-urbit
|
||||||
(argon2 64 %u 0x13 4 1.024 10 *byts *byts)
|
|= out=@ud
|
||||||
|
(argon2 out %u 0x13 4 512.000 1 *byts *byts)
|
||||||
::
|
::
|
||||||
:: argon2 proper
|
:: argon2 proper
|
||||||
::
|
::
|
||||||
|
Loading…
Reference in New Issue
Block a user