diff --git a/lib/keygen.hoon b/lib/keygen.hoon index 7dbf956189..a793d05726 100644 --- a/lib/keygen.hoon +++ b/lib/keygen.hoon @@ -17,9 +17,8 @@ ++ argon2u |= [inp=byts out=@ud] ^- @ - %. [inp (to-byts 'urbitkeygen')] - %- argon2:argon2:crypto - [out %u 0x13 1 1.024 10 *byts *byts] + %- (argon2-urbit:argon2:crypto out) + [inp (to-byts 'urbitkeygen')] :: ++ child-node-from-seed |= [seed=byts met=meta pass=(unit @t)] diff --git a/sys/zuse.hoon b/sys/zuse.hoon index 8c55f4dd34..ca1bef4652 100644 --- a/sys/zuse.hoon +++ b/sys/zuse.hoon @@ -3693,12 +3693,9 @@ :: :: shorthands :: - ++ argon2-minimal - (argon2 32 %id 0x13 1 8 1 *byts *byts) - :: - ::TODO discuss and standardize? ++ 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 ::