C implementation of the scrypt key derivation function as a library