When you use scrypt to hash a string, it will generate something like:
The first part:
SCRYPT:4096:8:1: is the "header" (identification and parameters used).
The second part:
I believe is the actual hash (b64 encoded).
What is the last part?
zABi6opzkXwG627OUrk4KNUCiajY1xdM+PVmSC+VJS8=, the salt?
bytes 0-5: The word "scrypt" bytes 6-15: Scrypt parameters N, r, and p bytes 16-47: 32 bits of random salt bytes 48-63: A 16 bit checksum bytes 64-95: A 32 bit HMAC of bytes 0 to 63 using a key produced by the scrypt key derivation function.
To my understanding, it describes the first and second part of the resulting string described previously. Unless I'm mistaken, the last part is not discussed there.
As commented by Maarten Bodewes, I have found that not all libraries will output the same string as I posted above. That one is specific for the Perl library I'm using (I was unaware of that). For example, take a look to these implementations, and you will see the hash doesn't look like that: