📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

keyauth

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyauth

Keyauth version 1.0 that includes and demo and requests are encrypted using aes.

1.0.3
latest
Source
npm
Version published
Weekly downloads
11
22.22%
Maintainers
1
Weekly downloads
 
Created
Source
Logo

Keyauth

Keyauth V1.0 api wrapper in nodejs that includes requests being encrypted using aes.

Discord & Support Server . Keyauth



Example

const Keyauth = require('keyauth');
const path = require('path');
const fs = require('fs');
const { createHash } = require('crypto');

function check_sum() {
    let filename = path.basename(__filename) 

    if(!fs.existsSync(filename)) {
        filename = filename.replace(path.extname(filename), '.exe')
    }

    const content = fs.readFileSync(filename, 'binary')
    
    const md5 = createHash('md5').update(content).digest('hex')
    return md5
}

(async() => {
    const keyauth = new Keyauth(
        '', //application name
        '', //owner id
        '', //application secret
        '1.0', //version
        check_sum()
    );
    
    const app_info = await keyauth.initialize()

    console.log(app_info)
})()

Keywords

keyauth

FAQs

Package last updated on 16 Nov 2022

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