{
  "schemaVersion": "1.0",
  "item": {
    "slug": "encryption",
    "name": "Encryption",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/ivangdavila/encryption",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/encryption",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/encryption",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=encryption",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "infra.md",
      "mobile.md",
      "patterns.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/encryption"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/encryption",
    "agentPageUrl": "https://openagent3.xyz/skills/encryption/agent",
    "manifestUrl": "https://openagent3.xyz/skills/encryption/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/encryption/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "When to Use",
        "body": "Encrypting files, database fields, or app storage\nPassword hashing (bcrypt, argon2)\nKey management, rotation, derivation\nTLS/certificate configuration\nAuditing code for crypto mistakes\nMobile secure storage (Keychain, Keystore)"
      },
      {
        "title": "Algorithm Selection",
        "body": "PurposeUseAvoidPasswordsargon2id, bcrypt (cost≥12)MD5, SHA1, plain SHA256SymmetricAES-256-GCM, ChaCha20-Poly1305AES-ECB, DES, RC4AsymmetricRSA-4096+OAEP, Ed25519, P-256RSA-1024, PKCS#1 v1.5Key derivationPBKDF2 (≥600k), scrypt, argon2Single-pass hashJWT signingRS256, ES256HS256 with weak secretTLS1.2+ onlyTLS 1.0/1.1, SSLv3"
      },
      {
        "title": "Critical Rules",
        "body": "Never reuse IVs/nonces — AES-GCM + repeated nonce = catastrophic\nUse authenticated encryption (AEAD) — Plain CBC enables padding oracles\nHash passwords, don't encrypt — Hashing is one-way\nNo hardcoded keys — Use env vars, KMS, or Vault\nNo Math.random() for crypto — Use CSPRNG only\nConstant-time comparisons — Prevent timing attacks on secrets\nSeparate keys by purpose — Encryption ≠ signing ≠ backup"
      },
      {
        "title": "File Encryption (CLI)",
        "body": "# age (modern, simple)\nage -p -o file.age file.txt\nage -d -o file.txt file.age\n\n# GPG\ngpg -c --cipher-algo AES256 file.txt"
      },
      {
        "title": "Platform-Specific",
        "body": "See patterns.md for code snippets:\n\nPassword hashing (Node, Python, Go)\nEnvelope encryption with KMS\nJWT with RS256 key rotation\nSecure token generation\n\nSee mobile.md for:\n\niOS Keychain wrapper\nAndroid EncryptedSharedPreferences\nSQLCipher setup\nBiometric auth integration\nCertificate pinning\n\nSee infra.md for:\n\nTLS certificate auto-renewal\nHashiCorp Vault policies\nmTLS between services\nBackup encryption verification"
      },
      {
        "title": "Audit Checklist",
        "body": "No plaintext passwords in DB/logs/env\n No secrets in git history\n No hardcoded keys in source\n No Math.random() for security\n No deprecated algorithms (MD5, SHA1, DES)\n No disabled cert validation\n IVs/nonces never reused\n PBKDF2 iterations ≥600k / bcrypt cost ≥12\n TLS 1.2+ enforced, old protocols disabled\n Key rotation procedure documented"
      }
    ],
    "body": "When to Use\nEncrypting files, database fields, or app storage\nPassword hashing (bcrypt, argon2)\nKey management, rotation, derivation\nTLS/certificate configuration\nAuditing code for crypto mistakes\nMobile secure storage (Keychain, Keystore)\nAlgorithm Selection\nPurpose\tUse\tAvoid\nPasswords\targon2id, bcrypt (cost≥12)\tMD5, SHA1, plain SHA256\nSymmetric\tAES-256-GCM, ChaCha20-Poly1305\tAES-ECB, DES, RC4\nAsymmetric\tRSA-4096+OAEP, Ed25519, P-256\tRSA-1024, PKCS#1 v1.5\nKey derivation\tPBKDF2 (≥600k), scrypt, argon2\tSingle-pass hash\nJWT signing\tRS256, ES256\tHS256 with weak secret\nTLS\t1.2+ only\tTLS 1.0/1.1, SSLv3\nCritical Rules\nNever reuse IVs/nonces — AES-GCM + repeated nonce = catastrophic\nUse authenticated encryption (AEAD) — Plain CBC enables padding oracles\nHash passwords, don't encrypt — Hashing is one-way\nNo hardcoded keys — Use env vars, KMS, or Vault\nNo Math.random() for crypto — Use CSPRNG only\nConstant-time comparisons — Prevent timing attacks on secrets\nSeparate keys by purpose — Encryption ≠ signing ≠ backup\nFile Encryption (CLI)\n# age (modern, simple)\nage -p -o file.age file.txt\nage -d -o file.txt file.age\n\n# GPG\ngpg -c --cipher-algo AES256 file.txt\n\nPlatform-Specific\n\nSee patterns.md for code snippets:\n\nPassword hashing (Node, Python, Go)\nEnvelope encryption with KMS\nJWT with RS256 key rotation\nSecure token generation\n\nSee mobile.md for:\n\niOS Keychain wrapper\nAndroid EncryptedSharedPreferences\nSQLCipher setup\nBiometric auth integration\nCertificate pinning\n\nSee infra.md for:\n\nTLS certificate auto-renewal\nHashiCorp Vault policies\nmTLS between services\nBackup encryption verification\nAudit Checklist\n No plaintext passwords in DB/logs/env\n No secrets in git history\n No hardcoded keys in source\n No Math.random() for security\n No deprecated algorithms (MD5, SHA1, DES)\n No disabled cert validation\n IVs/nonces never reused\n PBKDF2 iterations ≥600k / bcrypt cost ≥12\n TLS 1.2+ enforced, old protocols disabled\n Key rotation procedure documented"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/encryption",
    "publisherUrl": "https://clawhub.ai/ivangdavila/encryption",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/encryption",
    "downloadUrl": "https://openagent3.xyz/downloads/encryption",
    "agentUrl": "https://openagent3.xyz/skills/encryption/agent",
    "manifestUrl": "https://openagent3.xyz/skills/encryption/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/encryption/agent.md"
  }
}