diff options
Diffstat (limited to 'helpers/crypt.js')
-rw-r--r-- | helpers/crypt.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/crypt.js b/helpers/crypt.js index 5d3d79e..921d3f6 100644 --- a/helpers/crypt.js +++ b/helpers/crypt.js @@ -15,5 +15,5 @@ export const decrypt = (hash) => { const decipher = crypto.createDecipheriv(algorithm, secretKey, Buffer.from(iv, 'hex')) const decrpyted = Buffer.concat([decipher.update(Buffer.from(content, 'hex')), decipher.final()]) - return decrpyted.toString(); + return decrpyted.toString() } |