Unix Crypt 3 in Ruby