# Quiz 39

**Let's apply what you have learned so far to a specific scenario. Choose the most correct response (choose ALL that apply).**

You are developing a BSV wallet application. A teammate asks you to explain the process of generating a BSV address. Which of the following steps are correct?

**Add answers and select the correct ones**

* [x] Hash the result of the SHA-256 operation using RIPEMD-160.
* [x] Hash the compressed x-coordinate of the public key using SHA-256.
* [ ] Directly encode the public key in Base58 without hashing.
* [ ] Use MD5 instead of RIPEMD-160 for the second hashing step.<br>

**Note to Learners**\
\
To generate a BSV address, the compressed x-coordinate of the public key is first hashed using SHA-256, and then the result is hashed again using RIPEMD-160. This double-hashing process ensures security and creates the 'Public-Key-Hash' used in P2PKH transactions. The final result is then encoded in Base58Check format.

&#x20;

To learn more about it, you can follow the course [RIPEMD-160](https://bsvblockchain.360learning.com/course/play/68be94d003e0ff2b593f5662)


---

# 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-39.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.
