fix(store-account): export bank account crypto helpers
This commit is contained in:
parent
6e9d0e474f
commit
73b3049e01
@ -30,3 +30,6 @@ export function decryptStoreAccountPassword(value: string) {
|
||||
decipher.setAuthTag(Buffer.from(tagPart, 'base64url'))
|
||||
return Buffer.concat([decipher.update(Buffer.from(dataPart, 'base64url')), decipher.final()]).toString('utf8')
|
||||
}
|
||||
|
||||
export const encryptStoreAccountBankAccount = encryptStoreAccountPassword
|
||||
export const decryptStoreAccountBankAccount = decryptStoreAccountPassword
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user