1

How can I encrypt HTTP POST data using symmetric encryption? I know that you can use HTTPS and make your HTTP run over TLS, but is there a way to do that without using HTTPS and how?

closed as unclear what you're asking by schroeder Jan 31 at 16:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    TLS does use symmetric encryption. Why do you want to avoid TLS? – AndrolGenhald Jan 31 at 16:49
  • 4
    TLS uses symmetric encryption to encrypt the data, including POST data. TLS uses asymmetric encryption only to establish a symmetric key shared among the client and the server. – A. Hersean Jan 31 at 16:49
  • 5
    If you want to know how to code your own encryption over HTTP and not HTTPS, that's more of a coding question. You just encrypt the application data, but you need the encryption process on both sides. Also, you will need to sort out the problem of passing the symmetric key. To do that, you could use asymmetric encryption, but then you would need to code that into your application, too. Or, you could use TLS that has had this all sorted out for 23 years. – schroeder Jan 31 at 16:54
  • 3
    Franky, if you want to do all this without TLS, I'd still recommend that you read about TLS so you can implement a known good method to your application-level encryption. But how to do that is a coding question. – schroeder Jan 31 at 16:58

Browse other questions tagged or ask your own question.