title: How to generate public and private key for API
body: <p>I want the easy way in order to generate Public / Private key for API, i want a speed class without need of OPENSSL or Any server side installation or third party application.</p>
  
  <p>I tried to look about a Bitcoin Public/Private system generation, but nothing found about it ... and then i tested:</p>
  
  <pre><code>require_once('PHPCoinAddress.php');
  
  
  $coin = CoinAddress::bitcoin();          coin_info('Bitcoin', $coin);
  
  
  //////////////////////////////////////////////
  function coin_info($name,$coin) {
  
      print 'public (base58): ' . $coin['public'] . "&lt;br&gt;";
      print 'private (WIF)  : ' . $coin['private'] . "&lt;br&gt;";
  }
  </code></pre>
  
  <p>But this take many times in order to return a result !</p>
  
  <p><strong>Source from here:</strong> <a href="https://github.com/zamgo/PHPCoinAddress" rel="nofollow">https://github.com/zamgo/PHPCoinAddress</a></p>
  
  <p>If u have any easy, speed, secure and unique pair generation solution will be welcome ! Thank's in advance.</p>