scrypt key-derivation function as a .Net assembly calling a plain-C dll