MICHELE DINELLI

LAB 02

Summary: Lecture content for the second laboratory session
Commit: 1a8ff21
Reading time: 1 minute

Hash functions are functions that map arbitrary-length data strings to fixed-length bitstrings. To be considered computationally secure, an hash function \(H\) must satisfy three criteria:

In this LAB we’ll try to break unsecure hash functions.

Exercise 1

Crack the following hashes using Rainbow Tables.

Here are some useful commands:

# install rainbowcrack
sudo apt install rainbowcrack
# generate and sort a MD5 rainbowtable
sudo rtgen md5 loweralpha 1 7 0 1000 100000 0
sudo rtsort /usr/share/rainbowcrack
rcrack /usr/share/rainbowcrack -h <hash>

Solution 1