Encrypting 6-8+ character strings (passwords)

Is there a good ruby library for encrypting strings less than 8

I’ve used http://crypt.rubyforge.org/ in the past but it doesn’t seem to
work for less than 8 characters. I could try padding it with blanks and
trim on decryption but wanted to know what else is out there.

Thanks in advance.