title: What encryption algorithm would be best for data transfer between Python and Php?
body: <p>I am writing a client / server based program, Server side is with Php and Client is with Python, and I need to make sure the transfer data is safe both way.</p>
  
  <p>So, My question is </p>
  
  <p><strong>What encryption algorithm would be best for data transfer between Python and Php?</strong></p>
  
  <ul>
  <li>I couldn't use <strong>Https</strong></li>
  <li>Need to <strong>decrypt/encrypt</strong> with key on both Python and Php</li>
  <li>I would't need to have <s>shared</s> public key, key could be set in both Python and Php <strong>manually</strong></li>
  <li>Since I don't know how to implement algorithm myself, <strong>examples</strong> on both language would be great.</li>
  <li>My data are not serious like banking site, but just want to encrypt to be safe on the wire from sniffing</li>
  </ul>
  
  <p>I've tried to check this question but I couldn't find suitable answer for me</p>
  
  <p><a href="https://stackoverflow.com/questions/102496/compatible-encryption-between-c-and-php-coldfusion-ruby-python">Compatible encryption between C# and PHP, ColdFusion, Ruby, Python</a></p>
  
  <p>Thanks in advance.</p>