docs/library/binascii: Add docs for binascii.crc32 method.
Signed-off-by: Amirreza Hamzavi <amirrezahamzavi2000@gmail.com>
This commit is contained in:
parent
2e796d6c3e
commit
406bccc753
1 changed files with 6 additions and 0 deletions
|
|
@ -36,3 +36,9 @@ Functions
|
|||
Encode binary data in base64 format, as in `RFC 3548
|
||||
<https://tools.ietf.org/html/rfc3548.html>`_. Returns the encoded data
|
||||
followed by a newline character if newline is true, as a bytes object.
|
||||
|
||||
.. function:: crc32(data, [value])
|
||||
|
||||
Compute CRC-32, the 32-bit checksum of *data*, starting with an initial CRC
|
||||
of *value*. The default initial CRC is zero. The algorithm is consistent
|
||||
with the ZIP file checksum.
|
||||
|
|
|
|||
Loading…
Reference in a new issue