token-hash
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Token Hash

NPM version NPM downloads Build status Test coverage

Generate base64url encoding from the left-most half of the hash of a token. -- OpenID Connect

Installation

npm install token-hash --save

Usage

import { tokenHash } from "token-hash";
 
tokenHash("RS256", "aabbcc"); //=> "pbQy7gMHvn-iOqAEYfVO7g"

License

Apache 2.0

/token-hash/

    Package Sidebar

    Install

    npm i token-hash

    Weekly Downloads

    1

    Version

    1.0.1

    License

    Apache-2.0

    Unpacked Size

    9.52 kB

    Total Files

    9

    Last publish

    Collaborators

    • blakeembrey