We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85d4ead commit 9c44d67Copy full SHA for 9c44d67
1 file changed
packages/server/shared/src/lib/security/encryption.ts
@@ -66,9 +66,7 @@ function decryptBuffer(encryptedObject: EncryptedObject): Buffer {
66
]);
67
}
68
69
-function decryptString(
70
- encryptedObject: EncryptedObject,
71
-): string {
+function decryptString(encryptedObject: EncryptedObject): string {
72
const secret = loadEncryptionKey();
73
const iv = Buffer.from(encryptedObject.iv, 'hex');
74
const key = Buffer.from(secret, 'binary');
0 commit comments