We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9755b commit 683096aCopy full SHA for 683096a
packages/backend/src/open_payments/payment/outgoing/model.ts
@@ -213,7 +213,7 @@ export class OutgoingPayment
213
const decipher = createDecipheriv(
214
'aes-256-gcm',
215
Uint8Array.from(Buffer.from(key, 'base64')),
216
- Uint8Array.from(Buffer.from(iv, 'base64'))
+ iv
217
)
218
decipher.setAuthTag(Uint8Array.from(Buffer.from(tag, 'base64')))
219
let decryptedDataToTransmit = decipher.update(cipherText, 'base64', 'utf8')
0 commit comments