{"uid":"cap_S2cQw88Gi2ebtuj2kc00T","slug":"api-x402node-dev-66421d99","name":"PBKDF2 Key Derivation API","description":"PBKDF2 key derivation, password hashing, KDF, scrypt alternative, stretch password, derive encryption key, password-based key derivation, iterations, salt. Derive a cryptographic key from a password using PBKDF2 with configurable iterations, salt, and hash algorithm. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/crypto/pbkdf2","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["password"],"properties":{"algo":{"type":"string","description":"Algo (optional)"},"salt":{"type":"string","description":"Salt (optional)"},"keylen":{"type":"string","description":"Keylen (optional)"},"password":{"type":"string","description":"Password (required)"},"iterations":{"type":"string","description":"Iterations (optional)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"salt":"randomsalt123","password":"TestPassword123!","keyLength":32,"iterations":100000,"hashAlgorithm":"sha256"},"response":{"meta":{"source":"x402node.dev"},"_hint":"x402 paid endpoints for AI agents — x402node.dev (utilities) · cn402.com (Chinese culture)","keylen":32,"algorithm":"sha256","timestamp":"2026-06-18T05:17:22.980Z","iterations":100000,"derived_key":"ffc53e11b8d8f277d87aff8b843d5f9cf5719866a8b4d42b0256976856330e2d","salt_length":13,"derived_key_length_hex":64}},"exampleRequest":{"salt":"randomsalt123","password":"TestPassword123!","keyLength":32,"iterations":100000,"hashAlgorithm":"sha256"},"tags":["x402"],"displayCostAmount":"0.016","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.016/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zzHb7kzfj0LN3-aD8yUXI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.016","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 with configurable iterations, salt, and hash algorithm","exampleAgentPrompt":"Derive a 256-bit encryption key from the password 'MyS3cretPass!' using PBKDF2 with SHA-256, a salt of 'randomsalt123', and 100000 iterations.","exampleUseCases":null,"resultDescription":"Returns a derived cryptographic key (typically hex-encoded) computed via PBKDF2 using the provided password, salt, iteration count, and hash algorithm — suitable for use as an encryption key or secure password hash.","failureModes":["Missing required fields (password or salt) returns 400 Bad Request","Invalid hash algorithm name returns 400 with unsupported algorithm error","Iteration count too low or zero returns validation error","Key length out of supported range returns error","Payment not provided or insufficient USDC returns 402 Payment Required","Server-side computation timeout for extremely high iteration counts"],"whenToPreferThis":"Use this endpoint when you need PBKDF2-based key derivation or password stretching in a serverless/agent context without running local crypto libraries. Prefer this over generic hash endpoints when you need iterated key derivation (not just a single hash), configurable salt, and tunable work factor for security. Good for deriving AES keys from passphrases or storing password-derived keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:11.411Z","isFirstParty":false}