# Exercises: Calculate Hashes

In this exercise session, you are assigned to write some code to **calculate cryptographic hashes**. Write a program to **calculate hashes** of given text message: **SHA-224**, **SHA-256**, **SHA3-224**, **SHA3-384**, **Keccak-384** and **Whirlpool**. Write your code in programming language of choice.

## Calculate **SHA-224 Hash**

|           |                                                          |
| --------- | -------------------------------------------------------- |
| **Input** | **Output**                                               |
| hello     | ea09ae9cc6768c50fcee903ed054556e5bfc8347907f12598aa24193 |

## Calculate **SHA-256 Hash**

|           |                                                                  |
| --------- | ---------------------------------------------------------------- |
| **Input** | **Output**                                                       |
| hello     | 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 |

## Calculate **SHA3-224 Hash**

|           |                                                          |
| --------- | -------------------------------------------------------- |
| **Input** | **Output**                                               |
| hello     | b87f88c72702fff1748e58b87e9141a42c0dbedc29a78cb0d4a5cd81 |

## Calculate **SHA3-384 Hash**

|           |                                                                                                  |
| --------- | ------------------------------------------------------------------------------------------------ |
| **Input** | **Output**                                                                                       |
| hello     | 720aea11019ef06440fbf05d87aa24680a2153df3907b23631e7177ce620fa1330ff07c0fddee54699a4c3ee0ee9d887 |

## Calculate **Keccak-384 Hash**

|           |                                                                                                  |
| --------- | ------------------------------------------------------------------------------------------------ |
| **Input** | **Output**                                                                                       |
| hello     | dcef6fb7908fd52ba26aaba75121526abbf1217f1c0a31024652d134d3e32fb4cd8e9c703b8f43e7277b59a5cd402175 |

## Calculate **Whirlpool (512 Bit) Hash**

|           |                                                                                                                                  |
| --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| **Input** | **Output**                                                                                                                       |
| hello     | 0a25f55d7308eca6b9567a7ed3bd1b46327f0f1ffdc804dd8bb5af40e88d78b88df0d002a89e2fdbd5876c523f1b67bc44e9f87047598e7548298ea1c81cfd73 |

**Hints**: follow the Python examples, given earlier in this section or search in Internet.
