From 57060eb1387d393b5306104b1c1029be7d4ebaa0 Mon Sep 17 00:00:00 2001 From: ido Date: Tue, 26 Dec 2023 15:44:34 +0200 Subject: [PATCH] fix: crypto algorithm to aes-256-ctr --- packages/forms/src/components-control/form-utils/view-state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/forms/src/components-control/form-utils/view-state.ts b/packages/forms/src/components-control/form-utils/view-state.ts index 61ba99c..1924644 100644 --- a/packages/forms/src/components-control/form-utils/view-state.ts +++ b/packages/forms/src/components-control/form-utils/view-state.ts @@ -7,7 +7,7 @@ import snappy from 'snappy'; import {getSomeProps} from '../props-utils.js'; import crypto from 'crypto'; -const CRYPTO_ALGORITHM = 'aes-256-gcm'; +const CRYPTO_ALGORITHM = 'aes-256-ctr'; export default class ViewStateManager { private readonly _FORM_OPTIONS: FormsSettings;