typo fixed, params default values now work, salt cannot generate "null" salts