Fix typo in encryptKeyPass

This commit is contained in:
artur 2024-01-30 15:42:53 +03:00
parent cddf0b7805
commit 41de75ff6e

View File

@ -122,7 +122,7 @@ export class Keys {
const encrypted = Buffer.concat([cipher.update(nsec), cipher.final()])
console.log("encrypted key in ", Date.now() - start)
return {
enckey: `${PREFIX}:${VERSION}:${iv.toString('hex')}:${encrypted.toString('hex')}}`,
enckey: `${PREFIX}:${VERSION}:${iv.toString('hex')}:${encrypted.toString('hex')}`,
pwh
}
}