Update encrypt.js