15 lines
483 B
Markdown
15 lines
483 B
Markdown
# Scrypt Key Verification
|
|
|
|
Verifies a key derived from a message using the Scrypt algorithm.
|
|
|
|
Source library: `cryptography`
|
|
|
|
## Parameters
|
|
|
|
- **length**: The desired length of the derived key.
|
|
- **message**: The message to derive the key from.
|
|
- **salt**: The salt to use for key derivation. Must be a hexadecimal string.
|
|
- **n**: The CPU/memory cost parameter.
|
|
- **r**: The block size parameter.
|
|
- **p**: The parallelization parameter.
|
|
- **expected_key**: The expected derived key. |