A gallery that showcases on-device ML/GenAI use cases and allows people to try and use models locally.
---
name: calculate-hash
description: Calculate the hash of a given text.
---
# Calculate hash
This skill calculates the hash of a given text.
## Examples
* "Calculate hash of..."
* "What is the hash of..."
## Instructions
Call the `run_js` tool with the following exact parameters:
- script name: `index.html`
- data: A JSON string with the following field
- text: the text to calculate hash for