PHPackages                             timespay/signrsa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. timespay/signrsa

ActiveLibrary[Security](/categories/security)

timespay/signrsa
================

get post rsa sign

1.3.1(10mo ago)0313MITPHP

Since Mar 31Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/huixpszx/signrsa)[ Packagist](https://packagist.org/packages/timespay/signrsa)[ RSS](/packages/timespay-signrsa/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (10)Used By (0)

安装方法： composer require timespay/signrsa

使用方法 0.并发方法安装 composer require react/http composer update react/event-loop

1.test，用于测试接口是否正常，正常返回\[test-ok\]

2.send\_post\_from，传参\[提交地址，提交的数组，连接超时秒数（不传则默认10秒）\]， 例子\['[https://www.baidu.com',\[0=&gt;'a',1=&gt;'b'\],3](https://www.baidu.com',[0=>'a',1=>'b'],3)\]

3.httpGet，传参\[提交地址\]，可带参数，例子：[https://www.baidu.com?test=12345&amp;num=10](https://www.baidu.com?test=12345&num=10)

4.rsa\_create，linux使用命令\[生成密钥的方法\]

5.rsa\_sign,rsa签名方式，传参\[需要加密的字符串,私钥存放路径\]返回签名后的字符串。 注意，签名的目的是用于\[防止伪造\]，并不是防止被人看到明文，如果需要字符串加密，则使用6，rsa加密

6.rsa\_verify\_sign，传参\[需要加密的字符串,传来的签名,公钥存放路径\]上方的rsa\_sign结果， 返回true（验证通过） 或者 false（验证不通过） 或者null（没有找到公钥）

7.rsa\_encryp，rsa加密，将字符串传参\[对方的公钥存放路径\]加密，用于通讯中不想被人看到明文

8.rsa\_decrypt，rsa解密，对方传来的加密字符串，传参\[自己的私钥存放路径\]，解密成明文

9.timedbg，linux记录日志，传参\[开始的微秒，需要记录的内容，目录（默认logdbg）\]，自动新建tmp/记录目录名

10.logdbg，只记录需要记录的内容，\[不记录耗时\]

11.uuid，获取一个唯\[唯一订单号\]

12.getClient\_ip，获取\[来访的IP地址\]

13.ipWhite，传参\[白名单的数组格式\]，判断是否在\[Ip白名单内\]

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~102 days

Recently: every ~189 days

Total

9

Last Release

325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8022fab66db34c33ab8267afe593d5f5ac10158d26b085b147c80e7948a66b9e?d=identicon)[huixpszx](/maintainers/huixpszx)

---

Top Contributors

[![huixpszx](https://avatars.githubusercontent.com/u/40597709?v=4)](https://github.com/huixpszx "huixpszx (41 commits)")

### Embed Badge

![Health badge](/badges/timespay-signrsa/health.svg)

```
[![Health](https://phpackages.com/badges/timespay-signrsa/health.svg)](https://phpackages.com/packages/timespay-signrsa)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
