File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ - (NSString *)decryptRSA:(NSString *)data privateKey:(NSString *)privateKey {
261261 }
262262}
263263
264- - (void )decryptRSA : (NSString *)data privateKey : (NSString *)privateKey resolve : (RCTPromiseResolveBlock)resolve
264+ - (void )decryptAsyncRSA : (NSString *)data privateKey : (NSString *)privateKey resolve : (RCTPromiseResolveBlock)resolve
265265 reject : (RCTPromiseRejectBlock)reject {
266266
267267 __typeof (self) __weak weakSelf = self;
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ export interface Spec extends TurboModule {
1212 decryptAsyncAES ( data : string , key : string ) : Promise < string > ;
1313 encryptRSA ( data : string , publicKey : string ) : string ;
1414 decryptRSA ( data : string , privateKey : string ) : string ;
15- encryptAsyncRSA ( data : string , key : string ) : Promise < string > ;
16- decryptAsyncRSA ( data : string , key : string ) : Promise < string > ;
15+ encryptAsyncRSA ( data : string , publicKey : string ) : Promise < string > ;
16+ decryptAsyncRSA ( data : string , privateKey : string ) : Promise < string > ;
1717 hashSHA256 ( input : string ) : string ;
1818 hashSHA512 ( input : string ) : string ;
1919 hmacSHA256 ( data : string , key : string ) : string ;
You can’t perform that action at this time.
0 commit comments