Download the PHP package lmxdawn/php-rsa without Composer
On this page you can find all versions of the php package lmxdawn/php-rsa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lmxdawn/php-rsa
More information about lmxdawn/php-rsa
Files in lmxdawn/php-rsa
Download lmxdawn/php-rsa
More information about lmxdawn/php-rsa
Files in lmxdawn/php-rsa
Vendor lmxdawn
Package php-rsa
Short Description RSA package for thinkphp5.0
License Apache-2.0
Homepage https://github.com/lmxdawn/php-rsa
Package php-rsa
Short Description RSA package for thinkphp5.0
License Apache-2.0
Homepage https://github.com/lmxdawn/php-rsa
Keywords php-rsa
Please rate this library. Is it a good library?
Informations about the package php-rsa
PHP-RSA
登陆认证、web api接口调用、支付接口调用等场合经常涉及到: rsa算法
安装
composer require lmxdawn/php-rsa
示例
需要原型工具:
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 php-rsa with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package lmxdawn/php-rsa contains the following files
Loading the files please wait ....