Here, you can find a list of useful references if you want to dig deeper in to the fascinating world of cryptography:
- Cryptography: https://en.wikipedia.org/wiki/Cryptography
- JSON Web Tokens: https://jwt.io
- Hash functions: https://en.wikipedia.org/wiki/Cryptographic_hash_function
- HMAC: https://en.wikipedia.org/wiki/HMAC
- Cryptography services (Python STD library): https://docs.python.org/3.7/library/crypto.html
- IANA JSON Web Token Claims Registry: https://www.iana.org/assignments/jwt/jwt.xhtml
- PyJWT library: https://pyjwt.readthedocs.io/
- Cryptography library: https://cryptography.io/
There is way more on the web, and plenty of books you can also study, but I'd recommend that you start with the main concepts and then gradually dive into the specifics you want to understand more thoroughly.