We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have exported the key the way you suggest and encrypt the text in server and sending UInt8 Array and i would like to decrypt the data in IOS but i am getting following error 2020-01-19 17:02:41.715863-0600 Security App[60859:4066663] -[__NSDictionaryI length]: unrecognized selector sent to instance 0x7fbbd486f000 2020-01-19 17:02:41.796399-0600 Security App[60859:4066663] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryI length]: unrecognized selector sent to instance 0x7fbbd486f000' *** First throw call stack: ( 0 CoreFoundation 0x0000000110d5c8db exceptionPreprocess + 331 1 libobjc.A.dylib 0x000000010ef15ac5 objc_exception_throw + 48 2 CoreFoundation 0x0000000110d7ac94 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x0000000110d61623 forwarding + 1443 4 CoreFoundation 0x0000000110d63418 CF_forwarding_prep_0 + 120 5 Security 0x000000010f8c9153 PerformWithBigEndianToCCUnit + 48 6 Security 0x000000010f8c8fb3 SecKeyRSACopyDecryptedWithPadding + 272 7 Security 0x000000010f8c5b0b SecKeyRunAlgorithmAndCopyResult + 1032 8 Security 0x000000010f8c60a6 SecKeyCreateDecryptedDataWithParameters + 113 9 Security App 0x000000010dfb08ce $s12Security_App14ViewControllerC17decryptAndDisplayyyF + 846 10 Security App 0x000000010dfafea1 $s12Security_App14ViewControllerC12generateKeysyyypFys5Int32VcfU_ySDySSypG_SStcfU + 897 11 Security App 0x000000010dfb206d $s12Security_App14ViewControllerC12generateKeysyyypFys5Int32VcfU_ySDySSypG_SStcfU_TA + 13 12 Security App 0x000000010dfad5e4 $s12Security_App10APIManagerC18fetchEncryptedData3url4data10onCompleteySS_AA12RequestModelVySDySSypG_SStctFZy9Alamofire0F8ResponseVy10Foundation0F0VGcfU + 2212 13 Security App 0x000000010dfae1e1 $s12Security_App10APIManagerC18fetchEncryptedData3url4data10onCompleteySS_AA12RequestModelVySDySSypG_SStctFZy9Alamofire0F8ResponseVy10Foundation0F0VGcfU_TA + 17 14 Alamofire 0x000000010e45d7ab $s9Alamofire11DataRequestC8response5queue0D10Serializer17completionHandlerACXDSo012OS_dispatch_E0CSg_xyAA0B8ResponseVy16SerializedObjectQzGctAA0bkF8ProtocolRzlFyycfU_yycfU + 411 15 Alamofire 0x000000010e466938 $s9Alamofire11DataRequestC8response5queue0D10Serializer17completionHandlerACXDSo012OS_dispatch_E0CSg_xyAA0B8ResponseVy16SerializedObjectQzGctAA0bkF8ProtocolRzlFyycfU_yycfU_TA + 40 16 Alamofire 0x000000010e4157ed $sIeg_IeyB_TR + 45 17 libdispatch.dylib 0x0000000111c9ad7f _dispatch_call_block_and_release + 12 18 libdispatch.dylib 0x0000000111c9bdb5 _dispatch_client_callout + 8 19 libdispatch.dylib 0x0000000111ca9080 _dispatch_main_queue_callback_4CF + 1540 20 CoreFoundation 0x0000000110cc3a79 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 21 CoreFoundation 0x0000000110cbe126 __CFRunLoopRun + 2310 22 CoreFoundation 0x0000000110cbd4d2 CFRunLoopRunSpecific + 626 23 GraphicsServices 0x0000000115f342fe GSEventRunModal + 65 24 UIKitCore 0x000000011894bfc2 UIApplicationMain + 140 25 Security App 0x000000010dfb26bb main + 75 26 libdyld.dylib 0x0000000111d10541 start + 1 27 ??? 0x0000000000000001 0x0 + 1 ) libc++abi.dylib: terminating with uncaught exception of type NSException
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have exported the key the way you suggest and encrypt the text in server and sending UInt8 Array and i would like to decrypt the data in IOS but i am getting following error
2020-01-19 17:02:41.715863-0600 Security App[60859:4066663] -[__NSDictionaryI length]: unrecognized selector sent to instance 0x7fbbd486f000
2020-01-19 17:02:41.796399-0600 Security App[60859:4066663] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryI length]: unrecognized selector sent to instance 0x7fbbd486f000'
*** First throw call stack:
(
0 CoreFoundation 0x0000000110d5c8db exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010ef15ac5 objc_exception_throw + 48
2 CoreFoundation 0x0000000110d7ac94 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x0000000110d61623 forwarding + 1443
4 CoreFoundation 0x0000000110d63418 CF_forwarding_prep_0 + 120
5 Security 0x000000010f8c9153 PerformWithBigEndianToCCUnit + 48
6 Security 0x000000010f8c8fb3 SecKeyRSACopyDecryptedWithPadding + 272
7 Security 0x000000010f8c5b0b SecKeyRunAlgorithmAndCopyResult + 1032
8 Security 0x000000010f8c60a6 SecKeyCreateDecryptedDataWithParameters + 113
9 Security App 0x000000010dfb08ce $s12Security_App14ViewControllerC17decryptAndDisplayyyF + 846
10 Security App 0x000000010dfafea1 $s12Security_App14ViewControllerC12generateKeysyyypFys5Int32VcfU_ySDySSypG_SStcfU + 897
11 Security App 0x000000010dfb206d $s12Security_App14ViewControllerC12generateKeysyyypFys5Int32VcfU_ySDySSypG_SStcfU_TA + 13
12 Security App 0x000000010dfad5e4 $s12Security_App10APIManagerC18fetchEncryptedData3url4data10onCompleteySS_AA12RequestModelVySDySSypG_SStctFZy9Alamofire0F8ResponseVy10Foundation0F0VGcfU + 2212
13 Security App 0x000000010dfae1e1 $s12Security_App10APIManagerC18fetchEncryptedData3url4data10onCompleteySS_AA12RequestModelVySDySSypG_SStctFZy9Alamofire0F8ResponseVy10Foundation0F0VGcfU_TA + 17
14 Alamofire 0x000000010e45d7ab $s9Alamofire11DataRequestC8response5queue0D10Serializer17completionHandlerACXDSo012OS_dispatch_E0CSg_xyAA0B8ResponseVy16SerializedObjectQzGctAA0bkF8ProtocolRzlFyycfU_yycfU + 411
15 Alamofire 0x000000010e466938 $s9Alamofire11DataRequestC8response5queue0D10Serializer17completionHandlerACXDSo012OS_dispatch_E0CSg_xyAA0B8ResponseVy16SerializedObjectQzGctAA0bkF8ProtocolRzlFyycfU_yycfU_TA + 40
16 Alamofire 0x000000010e4157ed $sIeg_IeyB_TR + 45
17 libdispatch.dylib 0x0000000111c9ad7f _dispatch_call_block_and_release + 12
18 libdispatch.dylib 0x0000000111c9bdb5 _dispatch_client_callout + 8
19 libdispatch.dylib 0x0000000111ca9080 _dispatch_main_queue_callback_4CF + 1540
20 CoreFoundation 0x0000000110cc3a79 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
21 CoreFoundation 0x0000000110cbe126 __CFRunLoopRun + 2310
22 CoreFoundation 0x0000000110cbd4d2 CFRunLoopRunSpecific + 626
23 GraphicsServices 0x0000000115f342fe GSEventRunModal + 65
24 UIKitCore 0x000000011894bfc2 UIApplicationMain + 140
25 Security App 0x000000010dfb26bb main + 75
26 libdyld.dylib 0x0000000111d10541 start + 1
27 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
The text was updated successfully, but these errors were encountered: