Serialize parameters into a PHC string.
Required field for params
:
alg_id
: algorithm identifier Optional, special fields:alg_version
: algorithm version (unsigned integer)salt
: salthash
: output of the hash function
params
can also include any additional parameters.