Skip to content
Sharp

OWASP Vulnerabilities · interview question

Which part of a JWT ensures data integrity and authenticity?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Choose one answer
Answer and explanation

Correct answer

B. Signature

Why

The Signature part of a JWT ensures data integrity and authenticity by verifying that the token has not been altered after it was issued. It is created using the header and payload, along with a secret key.

Test yourself on OWASP Vulnerabilities

A free test with instant, explained results. No account needed.

Start free test
All OWASP Vulnerabilities questions →