Scrypt wrapper: fixed imminent PHP parse error, as function keyword missing. Also, removed spaces around str parameter to match existing style.