adopted srp algo to srp-js way of doing things.