From 0bfc18c385ab47d42058544bd7a98a1a3252a6df Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Mon, 26 May 2025 22:42:20 -0600 Subject: [PATCH] add encryption & decryption for the sensitive identity & mnemonic in SQL DB --- src/components/DataExportSection.vue | 6 ++- src/constants/app.ts | 2 +- src/db-sql/migration.ts | 5 +- src/db/tables/accounts.ts | 5 ++ src/libs/crypto/index.ts | 37 ++++++++------- src/libs/util.ts | 70 ++++++++++++++++++++++------ src/views/SeedBackupView.vue | 13 ++++-- src/views/TestView.vue | 15 +++--- 8 files changed, 105 insertions(+), 48 deletions(-) diff --git a/src/components/DataExportSection.vue b/src/components/DataExportSection.vue index a0d3eaca..50291cb4 100644 --- a/src/components/DataExportSection.vue +++ b/src/components/DataExportSection.vue @@ -62,7 +62,7 @@ backup and database export, with platform-specific download instructions. * *