def parse_salt
import bend-collections-laws-crypto@1.0.0.0/src/crypto/argon2/phc.bend as Phcimport Base
329def parse_salt(+m: Nat, +t: Nat, +p: Nat, r: Maybe<&2, Cut>) -> Maybe<&2, Phc>:
330 match r:
331 case None{}:
332 None{}
333 case Some{Cut{s, h}}:
334 parse_hash(m, t, p, unb64(s), unb64(h))