We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d48ff commit 61303ddCopy full SHA for 61303dd
1 file changed
src/lib/crypto.js
@@ -25,9 +25,7 @@ function encrypt(data, encryptionKey) {
25
encryptedSecret = Buffer.concat([encryptedSecret, cipher.final()]);
26
27
// Embedded IV with the encrypted secret
28
- const encryptedData = `${iv.toString('hex')}:${encryptedSecret.toString('hex')}`;
29
-
30
- return encryptedData;
+ return `${iv.toString('hex')}:${encryptedSecret.toString('hex')}`;
31
}
32
33
/**
0 commit comments