Testing RSA and AES in node.js