LearnThatStack Ace your next interview
Part of Security

Cryptography & TLS.

Start free Change topic Change
Practice · Questions

All questions

Showing of 46
Beginner 13
01

What is the difference between symmetric and asymmetric encryption?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

Symmetric encryption uses the same key for both encryption and decryption, while asymmetric encryption uses a pair of keys - a public key and a private key.

Symmetric Encryption:

  • Same key for encrypt/decrypt
  • Faster performance
  • Key distribution challenge
  • Examples: AES, DES, 3DES

Asymmetric Encryption:

  • Public/private key pair
  • Slower performance
  • Solves key distribution problem
  • Examples: RSA, ECC, DSA

Example scenario: If Alice wants to send a message to Bob using symmetric encryption, they both need to have the same secret key beforehand. With asymmetric encryption, Bob can share his public key openly, and Alice can encrypt messages that only Bob can decrypt with his private key.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

02

What is AES and why is it widely used?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

AES (Advanced Encryption Standard) is a symmetric encryption algorithm adopted by the U.S. government and used worldwide. It replaced DES as the standard encryption algorithm.

Key features:

  • Block cipher operating on 128-bit blocks
  • Key sizes: 128, 192, or 256 bits
  • Highly secure and efficient
  • Resistant to known cryptographic attacks
  • Fast implementation in both hardware and software

Why it's widely used:

  • Strong security with no known practical attacks
  • Excellent performance
  • Standardized and well-tested
  • Available in most cryptographic libraries
  • Required for many compliance standards

AES is used in everything from HTTPS connections to file encryption and VPNs.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

03

Explain the concept of a digital signature and how it works.

Part of Pro
04

What is the purpose of initialization vectors (IVs) in encryption?

Part of Pro
05

What are the main advantages and disadvantages of symmetric vs asymmetric encryption?

Part of Pro
06

What is the difference between HTTP and HTTPS?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

HTTP (HyperText Transfer Protocol) transmits data in plain text, making it vulnerable to interception and tampering. HTTPS (HTTP Secure) adds a security layer using TLS/SSL encryption.

Key differences:

  • Security: HTTP is unencrypted; HTTPS encrypts all communication
  • Port: HTTP uses port 80; HTTPS uses port 443
  • Performance: HTTPS has slight overhead due to encryption/decryption
  • Trust: HTTPS provides authentication, ensuring you're connecting to the intended server
  • SEO: Search engines favor HTTPS websites

Example: When you log into your bank account, HTTPS ensures your credentials aren't visible to attackers on the network.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

07

What does SSL stand for and how does it relate to TLS?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

SSL stands for Secure Sockets Layer. TLS (Transport Layer Security) is the successor to SSL. While people often use "SSL" colloquially, modern implementations actually use TLS.

Timeline:

  • SSL 1.0: Never released (had security flaws)
  • SSL 2.0: Released 1995, now deprecated
  • SSL 3.0: Released 1996, now deprecated
  • TLS 1.0: Released 1999 (based on SSL 3.0)
  • TLS 1.1: Released 2006
  • TLS 1.2: Released 2008
  • TLS 1.3: Released 2018 (current standard)

When someone says "SSL certificate" today, they're actually referring to a certificate used with TLS.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

08

What is a digital certificate and what information does it contain?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

A digital certificate is an electronic document that binds a public key to an identity (person, organization, or device). It's like a digital passport that proves authenticity.

Key information in a certificate:

  • Subject: Who the certificate belongs to (domain name, organization)
  • Public Key: Used for encryption and signature verification
  • Issuer: The Certificate Authority that issued the certificate
  • Validity Period: Start and expiration dates
  • Serial Number: Unique identifier
  • Signature: Digital signature from the issuing CA
  • Extensions: Additional information (key usage, subject alternative names)

Example: A certificate for google.com proves that the public key belongs to Google, allowing secure communication.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

09

What is a Certificate Authority (CA) and why is it important?

Part of Pro
10

Explain the concept of public key cryptography.

Part of Pro
11

What is SSL/TLS and what problem does it solve?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are cryptographic protocols that provide secure communication over computer networks. TLS is the successor to SSL, with TLS 1.0 being equivalent to SSL 3.1.

These protocols solve three main security problems:

  • Confidentiality: Data is encrypted so only intended recipients can read it
  • Integrity: Data cannot be modified in transit without detection
  • Authentication: Verification of server (and optionally client) identity

TLS operates between the application layer and transport layer, securing protocols like HTTP (creating HTTPS), SMTP, FTP, and others.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

12

What is PKI (Public Key Infrastructure) and what are its main components?

Beginner ·

Answer it yourself first - out loud, or typed below.

How should your speech become text?

Listening… your words appear above as you speak - tap Stop when you're done.

Recording · cr - tap Stop & transcribe when you're done.

Transcribing with AI…

Voice:

Keep going - a few more words and AI can grade it.

Last attempt -

Your answer

Re-explain

PKI is a framework that manages digital keys and certificates for secure communication. It provides the infrastructure needed to create, manage, distribute, use, store, and revoke digital certificates.

Main Components:

  1. Certificate Authority (CA): Issues and manages certificates
  2. Registration Authority (RA): Verifies certificate requests before CA signs them
  3. Digital Certificates: Bind public keys to identities
  4. Certificate Repository: Stores and distributes certificates
  5. Certificate Revocation List (CRL): Lists revoked certificates
  6. Key Management: Handles key generation, storage, and lifecycle

PKI enables trust relationships between parties who have never met by establishing a chain of trust through trusted CAs.

Rewriting in plainer words…

This answer doesn't lend itself to a diagram - it reads best . No credits were charged.

Why there's no diagram: “”

The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓

Related concept

Tailored explanation · switch back to · ·
What should the new diagram focus on?
How well did you know this?
AI:

13

What information is contained in an X.509 certificate?

Part of Pro
Intermediate 15
14

Explain different block cipher modes of operation and their use cases.

Part of Pro
15

What is Perfect Forward Secrecy (PFS) and why is it important?

Part of Pro
16

Explain RSA encryption and its key components. What are its limitations?

Part of Pro
17

What is key stretching and why is it used in password-based encryption?

Part of Pro
18

Describe the Diffie-Hellman key exchange protocol and its security assumptions.

Part of Pro
19

What is the difference between encryption and hashing? When would you use each?

Part of Pro
20

Walk me through the TLS handshake process.

Part of Pro
21

What is a certificate chain and how does certificate validation work?

Part of Pro
22

What are cipher suites and what components do they include?

Part of Pro
23

What is certificate pinning and when would you use it?

Part of Pro
24

What is OCSP and how does it differ from CRL?

Part of Pro
25

What are cipher suites and how do you interpret them?

Part of Pro
26

How would you troubleshoot SSL/TLS connection issues?

Part of Pro
27

How do you configure secure cipher suites and what are current best practices?

Part of Pro
28

What is mutual TLS (mTLS) and when would you use it?

Part of Pro
Expert 18
29

Explain the security implications of different padding schemes in RSA encryption.

Part of Pro
30

Describe side-channel attacks against cryptographic implementations and their countermeasures.

Part of Pro
31

Explain the concept of post-quantum cryptography and why it's becoming important.

Part of Pro
32

Describe the challenges and best practices for key management in enterprise environments.

Part of Pro
33

Compare TLS 1.2 and TLS 1.3. What are the key improvements?

Part of Pro
34

What is SNI (Server Name Indication) and why is it necessary?

Part of Pro
35

Explain Certificate Transparency and its benefits.

Part of Pro
36

What is HSTS (HTTP Strict Transport Security) and how does it work?

Part of Pro
37

What are some common TLS/SSL vulnerabilities and how are they mitigated?

Part of Pro
38

Explain DANE (DNS-Based Authentication of Named Entities) and its advantages.

Part of Pro
39

What are the security considerations when implementing TLS in a microservices architecture?

Part of Pro
40

How would you troubleshoot a TLS certificate issue in production?

Part of Pro
41

What is the role of HSMs (Hardware Security Modules) in PKI infrastructure?

Part of Pro
42

What are the security differences between TLS 1.2 and TLS 1.3?

Part of Pro
43

How do you implement SSL/TLS termination and what are the considerations?

Part of Pro
44

How do you manage certificate lifecycle in an enterprise environment?

Part of Pro
45

How do you handle SSL/TLS in containerized environments?

Part of Pro
46

Describe the security implications of SSL/TLS session resumption.

Part of Pro

No matches

Try a different filter or search term.

Know someone prepping for Cryptography & TLS? Send them this set.
Pro · $10/mo

39 of 46 Cryptography & TLS answers are in Pro.

Full answers, code samples, and AI explanations that go simpler or deeper. Cancel anytime.

  • Full answers + code
  • AI explanations, simpler or deeper
  • 1,000 AI credits / month
  • Cancel anytime

Change topic

Pick a different technology or stack. Your current topic stays put until you choose a new one.

Technologies
No technologies match “”.
Cross-cutting topics
No topics match “”.
By role
Stacks & frameworks

MEAN

MongoDB, Express, Angular, Node.js

MERN

MongoDB, Express, React, Node.js

LAMP

Linux, Apache, MySQL, PHP

Django

Python Full-Stack Development

Ruby on Rails

Convention over Configuration

Serverless on AWS

Serverless Architecture on AWS

Flutter Mobile

Flutter Cross-Platform Mobile Development

Spring Boot

Enterprise Java Development

.NET

Microsoft Ecosystem

Vue

Vue.js, Vite, TypeScript, Tailwind, Node.js

Go Backend

Golang, gRPC, PostgreSQL, Redis, RabbitMQ

FastAPI

Python, FastAPI, SQLAlchemy, PostgreSQL

React Native

React, TypeScript, Redux, Firebase

iOS Native

Swift, SwiftUI, UIKit, Firebase

Android Native

Java, Jetpack Compose, Firebase

DevOps / Platform

Docker, Kubernetes, Terraform, CI/CD

AI Engineer

LLMs, RAG, Agents, Evals

AI-Powered Developer

Claude Code, Copilot, Agentic Workflows

Core SWE Interview Prep

Data structures, algorithms, OS, concurrency, networking, git