Skip to main content

Cryptography basics

Tell hashing from encryption, explain symmetric and asymmetric keys, describe what TLS and certificates protect, store passwords with a slow hash such as Argon2 or bcrypt, and keep secrets out of code, logs and prompts.

Beginner 3 · Data and toolsabout 3 hours5 sections

Quick answer

Cryptography protects data with maths: hashing makes one-way fingerprints, encryption hides data from anyone without the key, and TLS uses both to secure traffic.

Why it matters

Every login, UPI payment and API call depends on cryptography working correctly. Engineers rarely invent ciphers, but they constantly choose hash functions, store passwords, configure TLS and handle API keys, and those choices cause real breaches. AI apps add keys that leak through prompts and logs.

Sign up free to read the whole lesson

The rest of this lesson: 5 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.

Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.

On the roadmap: AI Security Engineer

SecurityBeginner 3: Data and toolsVideo lessonsHashingEncryptionTLSSecrets managementEnvironment variable

Track

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.