OpenSSL won't create private keys?

后端 未结 6 1181
没有蜡笔的小新
没有蜡笔的小新 2020-12-20 19:42

Okay, well, this is my first time working with encryption on a project. I am using my hosting provider for SSL, but I also want to encrypt portions of the database that are

6条回答
  •  一生所求
    2020-12-20 20:39

    I think you might have an easier time with phpseclib, a pure PHP RSA implementation. The following example will create a 1024-bit RSA private / public key:

    createKey());
    
    echo $privatekey . '
    ' . $publickey; ?>

提交回复
热议问题