unix_md5_crypt() provides a crypt()-compatible interface to the rather old MD5-based crypt() function found in modern operating systems using old and solid libs.
Thiago Coutinho
gem "cram_md5", "~> 0.0.7"