# Hash functions within the Miden VM
In the Miden VM there are different hash functions
## Rescue Prime
## Rescue Prime Optimized
## BLAKE3
## SHA256
## Poseidon
# Comparison and Instructions
## Comparison
Definition of a scenario
### Scenario 1 - sequential hashing of 100 elements `h([0,...,99])`
| Function | Rp64_256 | RpO64_256 | BLAKE3 | SHA256 | Poseidon |
| -------- | -------- | -------- | -------- | -------- | -------- |
| Apple M1 | Text | Text | Text | Text | Text |
| AMD | Text | Text | Text | Text | Text |
| x86 (CPU)| Text | Text | Text | Text | Text |
| ... | Text | Text | Text | Text | Text |
### Scenario 2 - 2-to-1 hashing `h(a,b)`
| Function | Rp64_256 | RpO64_256 | BLAKE3 | SHA256 | Poseidon |
| -------- | -------- | -------- | -------- | -------- | -------- |
| Apple M1 | Text | Text | Text | Text | Text |
| AMD | Text | Text | Text | Text | Text |
| x86 (CPU)| Text | Text | Text | Text | Text |
| ... | Text | Text | Text | Text | Text |
## Instructions
This is how one can run the benchmarking