Commit Graph

3 Commits (782149ddc3c7a0ab8e72ad8afc3eb891ea0a6aef)

Author SHA1 Message Date
isaacs 76b0bdf720 crypto: Add crypto.DEFAULT_ENCODING (defaults to 'buffer')
This is a flag to make it easier for users to upgrade through the
breaking crypto change, and easier for us to switch it back if it's a
problem.

Explicitly set default encoding to 'buffer' in other tests, in case it
ever changes back.
2012-10-23 10:48:51 -07:00
Andreas Madsen 4865063924 Tests: fix jslint issues 2012-01-17 19:45:09 +01:00
Ingmar Runge 260383215b node_crypto: use EVP_Cipher*_ex methods, not 'obsolete' versions
This also fixes an issue that made blowfish's ECB mode unusable.
2011-11-30 01:29:35 +01:00