Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
fix: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kwekmh-affinidi committed Sep 19, 2023
1 parent 80f848f commit 3589d15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common-libs/common/src/services/EncryptionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export class EncryptionService {
const cipher = createCipheriv(encryption_algo, keyBuffer, iv)
const encryptedData = Buffer.concat([cipher.update(dataBuffer), cipher.final()])

return `${Buffer.concat([iv, encryptedData]).toString('hex')}-${cipher.getAuthTag().toString('hex')}`
return `${Buffer.concat([iv, encryptedData]).toString('hex')}-${cipher
.getAuthTag().toString('hex')}`
} else {
const keyBuffer = normalizeKey(key)
const dataBuffer = Buffer.from(data, undefined)
Expand Down

0 comments on commit 3589d15

Please sign in to comment.