Permalink
Browse files

fixed decypher bug that developed with node v0.10.0

  • Loading branch information...
jdc0589 committed Mar 17, 2013
1 parent f0ba397 commit 1ffe0f15b1c612c98701e5702444d2cff10b6cec
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/security.js
View
@@ -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.