Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appkey

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appkey

App Key/Secret Generator

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

AppKey

App Key/Secret Generator

npm npm npm

安装及使用

yarn add appkey
# 或
npm i -S appkey

示例代码:

const gen = require('appkey');

const {key, secret} = gen();
console.log(key, secret);

参数说明

  • SALT(string): 加盐参数
  • Length(int): 生成的Key长度

SALT默认值为6位随机字符,默认生成的Key为36字节,Secret长度固定为32个字节.

Benchmark

gen x 121,577 ops/sec ±1.12% (78 runs sampled)

License

MIT

通过支付宝捐赠:

qr

FAQs

Package last updated on 28 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc