Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is JWT?

Shulou Source: shulou.com Published: 2022-05-31 20:03:08 11月12日 Update

This article introduces you what is JWT, the content is very detailed, interested friends can use for reference, hope to be helpful to you.

What is JSON Web Token (JWT)

JSON Web Token (JWT), as an open standard (RFC 7519), defines a concise and self-contained method for the secure transmission of information in the form of JSON objects between two parties of communication. Because of the digital signature, the information of these communications can be verified and trusted.

JWT can use the secret key (secret) for signature (using the HMAC algorithm) or the public / private key pair (public/private key) of the RSA or ECDSA algorithm.

Although JWT can sign between the two parties of the communication by providing a secret, we will pay more attention to * * signed (signed) * * token.

The data integrity (integrity) in it can be verified by signed tokens, while encrypted tokens can be hide claims against other parties.

When a token (token) is signed with a public key / private key pair (public/private key), only the party who holds the private key to sign is signed.

Comparison of key terms in Chinese and English

Token-token

Secret-secret key

Signature-signature

Claims-requirements or data

On what is JWT to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Token more between information public key content both sides data algorithm help communication good concise secure one side Chinese and English other party key interest only Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB NVidia OPPO Reno Huawei