Authentication utilities for Scratch
Find a file
Andrew Sliwinski 5667237b9b Merge pull request from LLK/develop
Release v1.0.0
2016-11-04 09:22:29 -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 Add badges to README 2016-11-03 17:20:48 -04:00
TRADEMARK Initial commit 2016-03-28 12:53:44 -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('salt', '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!