Commit f07b590d authored by Neal Norwitz's avatar Neal Norwitz

Backport 51663:

  Doc fix: hashlib objects don't always return a digest of 16 bytes.
parent 38b9460b
......@@ -86,8 +86,8 @@ arguments: \code{m.update(a); m.update(b)} is equivalent to
\begin{methoddesc}[hash]{digest}{}
Return the digest of the strings passed to the \method{update()}
method so far. This is a 16-byte string which may contain
non-\ASCII{} characters, including null bytes.
method so far. This is a string of \member{digest_size} bytes which may
contain non-\ASCII{} characters, including null bytes.
\end{methoddesc}
\begin{methoddesc}[hash]{hexdigest}{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment