A simple ruby implemenation of the masterpassword-algorithm