pbkdf2_derive
Derive a cryptographic key from a password using PBKDF2 with configurable iterations and optional salt generation.
Instructions
Derive key using PBKDF2.
Args: password: Password to derive from. salt: Hex-encoded salt (optional, will generate if not provided). iterations: Number of iterations (default 480000, OWASP recommended).
Returns: Dictionary with 'derived_key' (hex) and 'salt' (hex).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salt | No | ||
| password | Yes | ||
| iterations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||