I am encrypting my request & response in iOS to send it to server end ,
Request Format
{
Response Format
{
"encryptedResponse":"Encrypted respone"
"encryptedResponseSecretKey": "Encrypted secret key"
}
I have to figure out how to create Secret Key in iOS
Is SecKeyCreateRandomKey is the right method for this??
Please help!!
Request Format
{
Code Block "encryptionFlag": "ENABLE", "encryptedText": "Encrypted request", "encryptedSecretKeyString": "Encrypted secret key"
}Response Format
{
"encryptedResponse":"Encrypted respone"
"encryptedResponseSecretKey": "Encrypted secret key"
}
I have to figure out how to create Secret Key in iOS
Is SecKeyCreateRandomKey is the right method for this??
Please help!!