From 469398a5dd7f7c535002a26654388d466367569a Mon Sep 17 00:00:00 2001 From: Simon McLoughlin Date: Mon, 4 Dec 2023 15:47:17 +0000 Subject: [PATCH] update encryption algo --- Sources/KukaiCoreSwift/Services/WalletCacheService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/KukaiCoreSwift/Services/WalletCacheService.swift b/Sources/KukaiCoreSwift/Services/WalletCacheService.swift index 2e8fd2c0..59189e00 100644 --- a/Sources/KukaiCoreSwift/Services/WalletCacheService.swift +++ b/Sources/KukaiCoreSwift/Services/WalletCacheService.swift @@ -44,7 +44,7 @@ public class WalletCacheService { fileprivate var privateKey: SecKey? /// The algorithm used by the enclave or keychain - fileprivate static var encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionCofactorX963SHA256AESGCM + fileprivate static var encryptionAlgorithm = SecKeyAlgorithm.eciesEncryptionCofactorVariableIVX963SHA256AESGCM /// The application key used to identify the encryption keys fileprivate static let applicationKey = "app.kukai.kukai-core-swift.walletcache.encryption"