diff --git a/apps/scandic-web/utils/encryption.ts b/apps/scandic-web/utils/encryption.ts index e194a672a..e4ea3d6d2 100644 --- a/apps/scandic-web/utils/encryption.ts +++ b/apps/scandic-web/utils/encryption.ts @@ -22,7 +22,7 @@ export function encrypt(originalString: string) { const buffers: Buffer[] = [] buffers.push(cipher.update(paddedStr)) buffers.push(cipher.final()) - const result = Buffer.concat(buffers).toString("base64").replace(/\+/g, "-") + const result = Buffer.concat(buffers).toString("base64") return result } catch (e) { console.log(e)