basic encrypt/decrypt

reference: http://lollyrock.com/articles/nodejs-encryption/