1.0.1 • Published 6 years ago
token-hash v1.0.1
Token Hash
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