diff --git a/furniture-3d-system/src/lib/store-account-crypto.ts b/furniture-3d-system/src/lib/store-account-crypto.ts index 0ed4b07f..2140e047 100644 --- a/furniture-3d-system/src/lib/store-account-crypto.ts +++ b/furniture-3d-system/src/lib/store-account-crypto.ts @@ -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