title: Decrypting data in c, using openssl
body: <p>In php i use the following functions:</p>
  
  <p><code>openssl_get_privatekey</code> and <code>openssl_private_decrypt</code> to decrypt some data.</p>
  
  <pre><code>$privatekey = openssl_get_privatekey (file_get_contents("private.key"));
  openssl_private_decrypt($encrypted_data,$decrypted_data, $privatekey);
  </code></pre>
  
  <p>How can i do the same in c ?</p>
  
  <p>Some suggestions or examples are welcome.</p>
  
  <p>Perry</p>