Ruby Cracklib implementation