# Quiz 34

What is the purpose of HASH-160 in BSV?

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

* [x] To generate a BSV address by hashing the compressed x-coordinate of a public key
* [ ] To encrypt transactions
* [ ] To replace SHA-256 in BSV
* [ ] To create private keys<br>

**Note to Learners**

HASH-160 is the BSV specific double hash function of RIPEMD-160(SHA-256). In BSV, HASH-160 is used to: Generate a BSV address by hashing the compressed x coordinate of a public key of an ECDSA public-private key-pair and converting the result to Base58 then Base58Check.

&#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-34.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.
