Remove debug printout and move less secure Cipher to ruby code