Skip to content
Back to skills

Calculate Hash

ASecurity

Calculate the SHA-1 hash of a given text via the WebView's WebCrypto API.

  • 80 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 7, 2026
ai-agentsgogitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add wuyhong715/rikkahub-agent-pure --skill calculate-hash --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Calculate Hash?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Calculate Hash
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wuyhong715-calculate-hash/badge)](https://www.skillsdirectory.com/skills/wuyhong715-calculate-hash)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md671 B
  • scripts/index.html959 B
  • scripts/index.js4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.