jwt-transform
Version:
transform your real jwt token into fake jwt token.
14 lines (13 loc) • 485 B
TypeScript
export declare class JwtTransform {
private static alphabet;
private static alphacount;
private static lca;
private static uca;
private static secretKeyCache;
private static validate;
private static validSecretKey;
private static rotation;
private static getRotatedSecretKey;
static transform(secretKey: string, plainText: string, rotate: number): string;
static untransform(secretKey: string, cipherText: string, rotate: number): string;
}