ruby: srp