# Quiz 8

**Let's apply what you have learned so far to a specific scenario. Choose the correct response.**

You have downloaded a software installation file from a trusted website. To ensure the file has not been tampered with, the website provides a SHA-256 checksum for verification. What steps should you take to confirm the file's integrity?

**Type all answers and select the correct one**

* [x] Use a SHA-256 hashing tool to generate the hash value of the downloaded file and compare it with the checksum provided on the website.
* [ ] Open the file and check its properties to see if it matches the checksum.
* [ ] Use any hashing algorithm (e.g., MD5) to generate a hash value and compare it with the provided SHA-256 checksum.
* [ ] Skip the verification process since the file was downloaded from a trusted source.<br>

**Note to learners**

To ensure the file's integrity, you must use the same hashing algorithm (in this case, SHA-256) to generate a hash value for the downloaded file. Then, compare the generated hash with the checksum provided on the website. If they match, the file has not been tampered with. Using a different hashing algorithm or skipping the verification process would not ensure the file's safety.

&#x20;

To learn more about it, you can follow the course [What are Hash functions?](https://bsvblockchain.360learning.com/course/play/68b55339580a65662452b269)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bitcoin-primitives-hash-functions/quiz-bitcoin-hash-functions/quiz-8.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
