We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d314686 commit 3e28327Copy full SHA for 3e28327
lib/cipher.js
@@ -27,7 +27,7 @@ function encryptIV(rawData) {
27
28
var encodeKey = crypto.createHash('sha256').update(PASSWORD, 'utf-8').digest();
29
var cipher = crypto.createCipheriv(ALGORYTHM, encodeKey, VECTOR);
30
- return cipher.update(rawData, 'utf-8', 'base64') + cipher.final('base64');
+ return cipher.update(rawData, 'utf-8') + cipher.final();
31
}
32
33
function decryptIV(encData, options) {
0 commit comments