crypto: Move encoding logic to JS, default=buffer
authorisaacs <i@izs.me>
Wed, 10 Oct 2012 22:44:47 +0000 (15:44 -0700)
committerisaacs <i@izs.me>
Tue, 23 Oct 2012 17:22:42 +0000 (10:22 -0700)
commit9901b69c8e372f39d6214fc0254b6465c4f329dc
treee14219ea9eaca04fc8a5fc4773b6e629683c101d
parent160e4d053481f3ad85e5532a353a68c1565764d2
crypto: Move encoding logic to JS, default=buffer

crypto: Hash and Hmac default to buffers

crypto: Move Cipher encoding logic to JS

crypto: Move Cipheriv encoding logic to JS

crypto: Move Decipher encoding logic to JS

crypto: Move Decipheriv into JS, default to buffers

crypto: Move Sign class to JS

crypto: Better encoding handling in Hash.update

crypto: Move Verify class to JS

crypto: Move DiffieHellman to JS, default to buffers

crypto: Move DiffieHellmanGroup to JS, default to buffers

Also, create a test for this feature
doc/api/crypto.markdown
lib/crypto.js
test/simple/test-crypto-padding-aes256.js
test/simple/test-crypto.js