NodeJS encryption and Browser Side decryption

Recently, I need to encrypt plain text on server side node.js environment, return the value back to client side. Then browser does the job of decryption of data. It should not rely on any external cryptography environment such as openssl.

I read the document of node cryptography library. It is just a wrapper of openssl. I also require the client side and server side cryptography algorithm to be consistent and transparent (i.e make use of decryption and encryption method of the same implementation of algorithm).

Just check the node-cryptojs-aes library, it provides documentation and fit into your scenario like a charm.

The url: https://github.com/chengxianga2008/node-cryptojs-aes

Passpack open sourced some interesting client libs http://code.google.com/p/passpack/