4 ms·
You do need a cryptographically secure RNG to work with JWTs though. There's no getting around the need for randomness.
by xorcist 4y ago
You do need a cryptographically secure RNG to work with JWTs though. There's no getting around the need for randomness.
- diroussel 4y agoYou only need a cryptographically secure RNG to generate a key pair. Assuming asymetric keys. That private key can then be used to sign many many JWTS. Whereas generating new session ids will always need fresh entropy.
- dontlaugh 4y agoThat depends on the algorithm, some depend on randomness like IVs.