Closed

iPhone, Android class for encrypt and decrypt DUKPT

We need a class for encryption/decryption dukpt (Derived unique key per transaction) in iPhone, Android and C#

1- iPhone Class for encryption/decryption dukpt

2- Android Class for encryption/decryption dukpt

3- C# Class for encryption/decryption dukpt

iPhone Class example;

#define dukptKEY @"ENGINHOSGOR"

#define dukptCahr @"?"

#import "dukptData.h"

@implementation dukptData

- (NSString *)encrypt:(NSString *)strDukpt:(NSString *)strKey{

//encryptData with KEY dukptKEY and dukptCahr

return sampleDukptData;

}

- (NSDictionary *)decrypt:(NSString *)strDukpt:(NSString *)strKey{

NSMutableDictionary *retDic = [[NSMutableDictionary alloc] init];

//decryptData with KEY dukptKEY and dukptCahr

[retDic setObject:@"" forKey:@"email"];

[retDic setObject:@"123" forKey:@"password"];

[retDic setObject:@"9001" forKey:@"id"];

return retDic;

}

- (NSString *)encryptData:(NSDictionary *)datDic{

NSString *strEmail = [datDic objectForKey:@"email"];

NSString *strPassword = [datDic objectForKey:@"password"];

NSString *strID = [datDic objectForKey:@"id"];

//encryptData with KEY dukptKEY and dukptCahr

NSString *strData = [NSString stringWithFormat:@"%@%@%@%@%@",strEmail,dukptCahr,strPassword,dukptCahr,strID];

NSString *strRet = [self encrypt:strData :dukptKEY];

return strRet;

}

- (NSDictionary *)decryptData:(NSString *)strData{

NSDictionary *retDic = [self decrypt:strData :dukptKEY];

return retDic;

}

@end

iPhone and Android;

In our application, we send a string, which separated with special character to this class, than we get, encrypted a string.

And also we send an encrypted string to this class we get a string which separated a special character.

Web Services;

We need class for encryption/decryption services which is coded by c#.

In our application, we post an encrypted a string to this web services.

And also this web services return an encrypted a string.

Skills: Android, C Programming, iPhone, Mobile App Development, Objective C

See more: encryption iphone android, encryption decryption android iphone, dukpt android, android dukpt, dukpt example, dukpt decryption, encryption decryption iphone android, dukpt encryption example, services in android, services android, self programming, programming in android, programming define, programming class, define programming, define c programming, define android, c programming define, c programming class, class programming, class in programming, android string, android application class, android 6.0, android 6

About the Employer:
( 0 reviews ) Istanbul, Turkey

Project ID: #2506677

2 freelancers are bidding on average $250 for this job

Vb6KL2rO7

Custom software development (<b><i>Removed by Admin</i></b>)

$250 USD in 1 day
(0 Reviews)
0.0
OnQ5PD42q

Custom software development (<b><i>Removed by Admin</i></b>)

$250 USD in 1 day
(0 Reviews)
0.0