Fix DES encryption so it works with JRuby