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.
Add this line to your application's Gemfile:
gem 'cram_md5'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cram_md5
cryptedpassword = CramMd5::unix_md5_crypt (password [, salt [, magicstring ])
apachepassword = CramMd5::apache_md5_crypt (password [, salt])
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Execure the "THE BEER-WARE LICENSE".