Download the PHP package shuipf/phprsa without Composer
On this page you can find all versions of the php package shuipf/phprsa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download shuipf/phprsa
More information about shuipf/phprsa
Files in shuipf/phprsa
Download shuipf/phprsa
More information about shuipf/phprsa
Files in shuipf/phprsa
Please rate this library. Is it a good library?
Informations about the package phprsa
phprsa
php使用rsa算法
安装
composer require shuipf/phprsa
示例
需要原型工具:
OpenSSL下载地址:http://slproweb.com/products/Win32OpenSSL.html
-
安装OpenSSL
- 随意安装到哪里
-
点击OpenSLL的bin目录下的 openssl.exe 进行私钥和公钥的生成
- 生成私钥
- genrsa -out rsa_private_key.pem 1024
- 生成公钥
- rsa -in rsa_private_key.pem -pubout -out rsa_public_key.pem
- 生成私钥
-
将生产的私钥、公钥拷贝到你的PHP项目中
- 开启PHP的OpenSSL扩展
- 将php.ini中的extension=php_openssl.dll开启(去掉;)
All versions of phprsa with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package shuipf/phprsa contains the following files
Loading the files please wait ....