# Nonces

> What is a nonce, where is it used, and how is it different from a salt and an IV?

Canonical: https://www.internhack.in/learn/interview/web-security/security-nonce-explanation
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What is a nonce, where is it used, and how is it different from a salt and an IV?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Nonce, Replay Protection, CSP, Initialization Vector, Cryptography

Previous: [Side-Channel Attack](https://www.internhack.in/learn/interview/web-security/security-side-channel-attack) · Next: [MFA Factors](https://www.internhack.in/learn/interview/web-security/security-mfa-types) · [All of Web Security (OWASP, JWT, XSS, CSRF)](https://www.internhack.in/learn/interview/web-security)

## More Web Security (OWASP, JWT, XSS, CSRF) questions

- [Honey Tokens](https://www.internhack.in/learn/interview/web-security/security-honey-tokens)
- [Penetration Testing](https://www.internhack.in/learn/interview/web-security/security-penetration-testing-levels)
- [Reentrancy](https://www.internhack.in/learn/interview/web-security/security-reentrancy-vulnerability)
- [Cold Boot Attack](https://www.internhack.in/learn/interview/web-security/security-cold-boot-attack)
- [Cloud Isolation](https://www.internhack.in/learn/interview/web-security/security-cloud-tenant-isolation)
- [OWASP Top 10 Overview](https://www.internhack.in/learn/interview/web-security/security-owasp-top-10)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Web Security (OWASP, JWT, XSS, CSRF)](https://www.internhack.in/learn/interview/web-security)
