Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Calculate Hash?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wuyhong715-calculate-hash)
---
name: calculate-hash
description: Calculate the SHA-1 hash of a given text via the WebView's WebCrypto API.
license: Apache-2.0
compatibility: Requires the JS skills tool (run_js) to be enabled.
metadata:
upstream: https://github.com/google-ai-edge/gallery
---
# 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:
- skill_name: `calculate-hash`
- script: `scripts/index.html`
- data: A JSON string with the following field
- text: the text to calculate hash for
## Attribution
Ported from [google-ai-edge/gallery](https://github.com/google-ai-edge/gallery) under the Apache-2.0 licence. Original copyright Google LLC.