본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크