Reference implementations of Rig, A simple, secure and flexible design for Password Hashing