crypt.rb works as expected