15 lines
405 B
Markdown
15 lines
405 B
Markdown
# Constant Time Compare
|
|
|
|
Compares two strings in constant time.
|
|
|
|
Source library: `cryptography`
|
|
|
|
## Parameters
|
|
|
|
- **a**: The first bytes to compare.
|
|
- **b**: The second bytes to compare.
|
|
|
|
## Additional information
|
|
|
|
See [this](https://en.wikipedia.org/wiki/Timing_attack#Constant-time_challenges) for more information on why this is important enough to even be considered for this node in the first place.
|