got scrypt working while letting user chose parameters