Simplified encryption/decryption for node.js