From 3357aa67780ff8293541b44ebb13d920b74c98f9 Mon Sep 17 00:00:00 2001 From: Hanwen Cheng Date: Mon, 7 Oct 2019 01:46:16 +0800 Subject: [PATCH] update encrypt algorithms --- ios/ECCrypto/ECCrypto.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/ECCrypto/ECCrypto.m b/ios/ECCrypto/ECCrypto.m index 196d6568cc..5d96de1a5a 100644 --- a/ios/ECCrypto/ECCrypto.m +++ b/ios/ECCrypto/ECCrypto.m @@ -21,7 +21,7 @@ #import #import -#define encryptAlgorithm kSecKeyAlgorithmECIESEncryptionStandardX963SHA512AESGCM +#define encryptAlgorithm kSecKeyAlgorithmECIESEncryptionStandardX963SHA256AESGCM #if TARGET_OS_SIMULATOR static BOOL isSimulator = YES;