Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6889099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:06:46+00:00 2026-05-27T06:06:46+00:00

I need to implement tcp socket communication between server and iOS client. I am

  • 0

I need to implement tcp socket communication between server and iOS client. I am thinking of using symmetric key encryption for securing data sent through the channel. I will be storing symmetric key inside the application which I think should be secure. (there won’t be any handshake of key)

However, I am not sure whether going for symmetric key encryption over ssl socket will improve connection speed significantly?

My requirement is connection should be established as soon as possible when user launches application.
Can anyone point me in right direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:06:47+00:00Added an answer on May 27, 2026 at 6:06 am

    The speed issue with TLS is only associated with the public-key handshake. As Bruno commented TLS uses symmetric encrypion post-handshake.

    If public-key handshake adds too much latency for this particular application you should not use the shared-secret scheme that you are proposing with a shared encryption key. If you use the same key for each connection the ciphertext is vulnerable to attacks analyzing ciphertext of multiple sessions. Instead you need to apply a scheme for using a “shared secret” (which is never used directly for encryption) to negotiate a unique encryption key for each connection. Plus you need some protocol for data integrity validation on transmitted data.

    All of this is tricky business to get right, so if possible you should probably go with TLS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to implement a TCP client application. The client and the server send
I need to implement the HTTP PUT method in C using TCP socket. Can
I need to quickly implement a very small C or C++ TCP server/client solution.
I need to implement inter-process communication system for processes (in machine-wide) in Win32 using
Is it possible to implement a non-blocking client socket? I have tried using sockfd
Possible Duplicate: how to implement TCP server and TCP client in java to transfer
I need to implement secure data transfer from client to server (binary data). I'm
I need to implement a Diff algorithm in VB.NET to find the changes between
I need to implement the classic Factory Method pattern in ASP.NET to create server
I need to implement a SSO between a SharePoint site and a custom PHP-based

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.