RPS: hash variant