levo

Data Security, Cryptography and Attack

Hashing, digital signatures and certificates

  • 3 things to know
  • Component 2
Start revising · £5/month

Overview

Hash function, collision in hashing and why hashing is not encryption.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

State the properties a hash function must have.

Key term

What is a hash function?

Key term

Why is a hash function described as one-way?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a hash function?

    Model answer

    A hash function turns a message of any length into a value of fixed length. The same input always produces the same hash.

  2. 2

    Why is a hash function described as one-way?

    Model answer

    The hash can be calculated easily from the message. Recovering the message from the hash is computationally infeasible.

  3. 3

    What is a collision in hashing?

    Model answer

    A collision occurs when two different inputs produce the same hash value. A good hash function makes finding one impractical.

  4. 4

    How does a hash show that a file has been altered?

    Model answer

    The hash is recalculated and compared with the value stored earlier. A single changed bit produces a completely different hash.

  5. 5

    Explain why hashing is not encryption.

    Model answer

    Hashing is deliberately irreversible and produces no key. Encryption is designed so the original data can be recovered.

  6. 6

    How can a system check a password without ever storing it?

    Model answer

    The system stores only the hash of each password. The hash of whatever the user types is compared with the stored value.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Data Security, Cryptography and Attack, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.