{"uid":"cap_4UsaMmLY_8fx1Fgu7Uz2U","slug":"agent402-tools-pbkdf2-key-derivation-2a6114e1","name":"agent402.tools PBKDF2 Key Derivation","description":"Derive a cryptographic key from a password using PBKDF2 (RFC 8018). Returns the hex-encoded derived key along with all parameters used, so you can store or verify them later. Supports sha1, sha256, sha384, sha512 digests.","url":"https://agent402.tools/api/pbkdf2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"salt":{"type":"string","description":"Salt string (should be unique per password)"},"digest":{"type":"string","description":"Hash algorithm: sha1, sha256, sha384, sha512 (default sha256)"},"password":{"type":"string","description":"Password or passphrase to derive from"},"keyLength":{"type":"integer","description":"Desired key length in bytes (default 32, max 128)"},"iterations":{"type":"integer","description":"Iteration count (default 100000, max 1000000)"}}},"responseSchema":{"type":"json","example":{"digest":"sha256","saltUsed":"random-salt-value","algorithm":"pbkdf2","keyLength":32,"derivedKey":"a1b2c3d4e5f6...","iterations":100000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NF-xIj-yZ_Z1wBMtpJgs_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Derives a cryptographic key from a password using PBKDF2 (RFC 8018), returning the hex-encoded key and all parameters used.","exampleAgentPrompt":"Derive a PBKDF2 key from the password 'correct-horse-battery-staple' using the salt 'uniqueSalt42', sha256 digest, 100000 iterations, and a 32-byte key length, and give me the hex-encoded result.","exampleUseCases":null,"resultDescription":"Returns a hex-encoded derived key along with all parameters used (salt, digest, keyLength, iterations), allowing the caller to store or re-verify the key later.","failureModes":["Invalid digest algorithm supplied (not sha1/sha256/sha384/sha512) — returns validation error","keyLength exceeds maximum of 128 bytes — returns error","iterations exceeds maximum of 1,000,000 — returns error","Missing required 'password' or 'salt' field — returns 400 bad request","Payment not provided or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a standards-compliant PBKDF2 key derivation (RFC 8018) with configurable digest, iteration count, and key length, and want the derived key returned in hex along with all parameters for storage or future verification. It is ideal for AI agents that need to derive encryption keys or verify passwords without managing the cryptographic implementation themselves.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:03.349Z","isFirstParty":false}