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 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

benchmark/index.js

8

package.json
{
"name": "appkey",
"version": "1.0.1",
"version": "1.0.2",
"description": "App Key/Secret Generator",

@@ -9,2 +9,5 @@ "main": "src/index.js",

},
"scripts": {
"benchmark": "matcha benchmark -R plain"
},
"dependencies": {},

@@ -16,3 +19,4 @@ "devDependencies": {

"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.0.1"
"eslint-plugin-react": "^7.0.1",
"matcha": "^0.7.0"
},

@@ -19,0 +23,0 @@ "repository": "git@github.com:AirDwing/node-appkey.git",

@@ -32,2 +32,13 @@ # AppKey

## Benchmark
```
Benchmark
gen ............................................ 138,249 op/s
Suites: 1
Benches: 1
Elapsed: 762.67 ms
```
## License

@@ -34,0 +45,0 @@

const crypto = require('crypto');
const x = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
const maxPos = x.length;
const md5 = str => crypto.createHash('md5').update(`${str}`).digest('hex');
const randStr = (len = 36) => {
const maxPos = x.length;
let pwd = '';

@@ -9,0 +9,0 @@ for (let i = 0; i < len; i += 1) {

Sorry, the diff of this file is not supported yet

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