The answer to "What is the meaning of the parts of the
As explained more in detail here.
Regarding the new
yescrypt "passphrase hashing scheme", the meaning of the second field can be understood by reading this, and if you want even more information, you can also read the yescrypt v2 specification.
I did some more research, and it seems that the hashing is happening in the function yescrypt_r. You can see the different parameters definitions in the code.
In the case the
N is set to
x is the number in the first digit of
param, and then r and p are both parsed using the function
decode64_uint32_fixed from the rest of the
In all other cases (i.e. only when
y, since the function checks the value of
id and returns if it isn't
y), the source conditionally sets various different parameters, with a block of code written in such a way that I feel trying to understand it would go against the wishes of the original author. So I leave it as an exercise for the reader.
In that same file, The function yescrypt that follows it exposes a simpler interface, similar to the one of