token-hash
v1.0.1
Published
Generate base64url encoding from the left-most half of the hash of a token
Downloads
6
Maintainers
Readme
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