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

cifer-sdk

mohsinriaz17 द्वारा

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

संक्षिप्त

> **Skill for AI Agents** | Enable quantum-resistant encryption in blockchain applications using the CIFER SDK.

विवरण

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

CIFER SDK (Cryptographic Infrastructure for Encrypted Records) adds quantum-resistant encryption to blockchain applications using ML-KEM-768, a NIST-standardized post-quantum algorithm. It covers payload encryption, large file encryption via async jobs, secret key management with owner/delegate authorization, and on-chain encrypted data commitments.

Uses ML-KEM-768 instead of classical asymmetric algorithms, so encrypted data stays protected even if quantum computers break RSA or ECC in the future.

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

  • Encrypting patient health records before writing them to a blockchain
  • Protecting private configuration secrets in a server-side Node.js service
  • Encrypting large media files with progress tracking before decentralized storage
  • Granting a third-party delegate address read-only decryption access to a secret
  • Anchoring encrypted message hashes on-chain for tamper-evident audit trails

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

इनपुट

User asks: Encrypt a message and store the commitment on-chain

एजेंट
  1. 1

    Initialize the SDK with createCiferSdk pointing to the blackbox endpoint

  2. 2

    Connect the user's wallet via Eip1193SignerAdapter

  3. 3

    Call blackbox.payload.encryptPayload with the target secretId and plaintext to get cifer and encryptedMessage

  4. 4

    Build the on-chain store transaction with commitments.buildStoreCommitmentTx using the encrypted output

  5. 5

    Send the transaction intent through the connected wallet

आउटपुट

Encrypted message and cifer bytes stored on-chain; owner or delegate can later retrieve and decrypt via commitments namespace

आवश्यकताएँ

  • PRIVATE_KEY environment variable (server-side wallet usage)
  • WalletConnect project ID (required for WalletConnect v2 integration)

इंस्टॉलेशन

clawhub install mohsinriaz17/cifer-sdk

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

लिंक