कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

hash-toolkit

raghulpasupathi द्वारा

Security & Passwords
383clawskills.sh द्वारा बताए गए डाउनलोड
1व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Content hashing for deduplication with MD5, SHA256, and perceptual hashing.

विवरण

यह स्किल क्या करती है

Provides MD5, SHA1, SHA256, and SHA512 hashing via Node.js built-in crypto, plus a simplified perceptual hash for content similarity. Includes duplicate detection by comparing against a known hash set and a similarity score between two hashes.

Generates all common hash types in one call instead of writing separate crypto.createHash boilerplate for each algorithm.

इसे कब इस्तेमाल करें

  • Deduplicating uploaded files before storing them
  • Generating cache keys from request payloads
  • Checking document integrity after network transfer
  • Finding near-duplicate text content in a processing pipeline
  • Building a seen-URLs set to avoid re-crawling

उदाहरण वर्कफ़्लो

इनपुट

User asks: has this document been processed before?

एजेंट
  1. 1

    Generate SHA256 hash of the document content using generateHash

  2. 2

    Load the set of previously seen hashes from storage

  3. 3

    Call checkDuplicate with the new hash and the known-hashes Set

  4. 4

    Return the isDuplicate flag and hash value to the caller

आउटपुट

{isDuplicate: true, hash: 'a3f2...', algorithm: 'sha256'}

इंस्टॉलेशन

clawhub install raghulpasupathi/hash-toolkit

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक