Skip to content
Browse files

fixed decypher bug that developed with node v0.10.0

  • Loading branch information...
1 parent f0ba397 commit 1ffe0f15b1c612c98701e5702444d2cff10b6cec @jdc0589 jdc0589 committed Mar 16, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/security.js
View
4 lib/security.js
@@ -22,6 +22,6 @@ exports.decrypt = function(valueToDecrypt) {
var str = cipher.update(valueToDecrypt, 'hex', 'utf8');
- str += cipher.final('hex') || '';
+ str += cipher.final('utf8') || '';
return str;
-}
+}

0 comments on commit 1ffe0f1

Please sign in to comment.
Something went wrong with that request. Please try again.