scrypt_derive
Derive a cryptographic key from a password using Scrypt, with optional hex-encoded salt. Returns derived key and salt as hex.
Instructions
Derive key using Scrypt.
Args: password: Password to derive from. salt: Hex-encoded salt (optional, will generate if not provided).
Returns: Dictionary with 'derived_key' (hex) and 'salt' (hex).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salt | No | ||
| password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||