fixed mistake with the stored SCrypt pbkdf hash, and implemented conversion between NutData and NutStruct