Ruby port of Dropboxes zxcvbn javascript lib