Authentication utilities for Scratch
Find a file
2018-06-18 13:21:50 -04:00
lib Use 'new' when creating Buffer 2016-11-03 17:37:34 -04:00
test Initial commit 2016-11-03 17:10:04 -04:00
.eslintignore Initial commit 2016-11-03 17:10:04 -04:00
.eslintrc.js Initial commit 2016-11-03 17:10:04 -04:00
.gitignore Initial commit 2016-11-03 17:10:04 -04:00
.travis.yml Update travis config 2016-11-03 17:22:07 -04:00
index.js Initial commit 2016-11-03 17:10:04 -04:00
LICENSE Initial commit 2016-03-28 12:53:44 -04:00
package.json Clean-up package for release 2016-11-03 17:35:19 -04:00
README.md Fix salt definition in README example code 2016-11-08 16:38:32 -05:00
TRADEMARK Update TRADEMARK 2018-06-18 13:21:50 -04:00

scratch-auth

Authentication utilities for Scratch

Build Status Coverage Status dependencies Status devDependencies Status

Installation

npm install scratch-auth

Usage

const Auth = require('scratch-auth');
const a = new Auth('test', 'secret');

const unsigned = a.unsign('value:zyBNJHpGyml3X-RhCx0mbjLFzPs');
const unpacked = a.unpack(unsigned);

Donate

We provide Scratch free of charge, and want to keep it that way! Please consider making a donation to support our continued engineering, design, community, and resource development efforts. Donations of any size are appreciated. Thank you!