We use the PHC string format, as defined here, to format password hashes produced by libpasta.
These take the following format:
$<id>[$<param>=<value>(,<param>=<value>)*][$<salt>[$<hash>]]
where:
<id>
is the symbolic name for the function<param>
is a parameter name<value>
is a parameter value<salt>
is an encoding of the salt<hash>
is an encoding of the hash outputThe string is then the concatenation, in that order, of:
$
sign;$
sign followed by one or several parameters, each
with a name=value
format; the parameters are separated by commas;$
sign followed by the (encoded) salt value;$
sign followed by the (encoded) hash output (the
hash output may be present only if the salt is present).