fix(store-account): export bank account crypto helpers

This commit is contained in:
WuYongJie 2026-08-28 16:31:43 +08:00
parent 6e9d0e474f
commit 73b3049e01

View File

@ -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