Generate MD5/SHA1 hashes from javascript objects in node and the browser.