mirror of https://github.com/python/cpython
Simplify wording.
This commit is contained in:
parent
cf343532a2
commit
f61e7910ea
|
@ -88,14 +88,10 @@ This module also provides the following helper function:
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
While this function reduces the likelihood of leaking the contents of the
|
If *a* and *b* are of different lengths, or if an error occurs,
|
||||||
expected digest via a timing attack, it still may leak some timing
|
a timing attack may be able to reveal information about the types
|
||||||
information when the input values differ in lengths as well as in error
|
and lengths of *a* and *b*, but not their values.
|
||||||
cases like unsupported types or non ASCII strings. When the inputs have
|
|
||||||
different length the timing depends solely on the length of ``b``. It is
|
|
||||||
assumed that the expected length of the digest is not a secret, as it is
|
|
||||||
typically published as part of a file format, network protocol or API
|
|
||||||
definition.
|
|
||||||
|
|
||||||
.. versionadded:: 3.3
|
.. versionadded:: 3.3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue