Update encryption.js