
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
primary-crypto
Advanced tools
小学登录、注册加密
# 洋葱内部模块需要先设置本地 npmrc 为洋葱私有npm仓库。 npm config set registry https://npm.yc345.tv && npm login
npm install @guanghe/primary-crypto
#yarn add @guanghe/primary-crypto
import {encrypto} from '@guanghe/primary-crypto'
let phone = '15512341234';
let pwd = '123456';
let sign = encrypto(phone, pwd);
//使用sign作为密码传给服务服务器
import {decrypt} from '@guanghe/primary-crypto'
let {phone, pwd, timestamp} = decrypt(sign);
//pwd是md5签名的HASH 值 全大写
import {decrypt} from '@guanghe/primary-crypto'
let sign = '接收到的sign';
let phone = '15512341234';
let pwd = '123456';
let b = verify(sign, phone, pwd);
// 验证成功返回 true,失败返回 false
FAQs
primary crypto
We found that primary-crypto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.