Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
327798ca
Kaydet (Commit)
327798ca
authored
Eki 15, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added notes to clarify that binascii.crc32(), zlib.crc32(), and
zlib.adler32() are not suitable as general hash functions.
üst
a5f73f9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
libbinascii.tex
Doc/lib/libbinascii.tex
+3
-1
libzlib.tex
Doc/lib/libzlib.tex
+6
-2
No files found.
Doc/lib/libbinascii.tex
Dosyayı görüntüle @
327798ca
...
...
@@ -92,7 +92,9 @@ Compute the binhex4 crc value of \var{data}, starting with an initial
\begin{funcdesc}
{
crc32
}{
data
\optional
{
, crc
}}
Compute CRC-32, the 32-bit checksum of data, starting with an initial
crc. This is consistent with the ZIP file checksum. Use as follows:
crc. This is consistent with the ZIP file checksum. Since the
algorithm is designed for use as a checksum algorithm, it is not
suitable for use as a general hash algorithm. Use as follows:
\begin{verbatim}
print binascii.crc32("hello world")
# Or, in two pieces:
...
...
Doc/lib/libzlib.tex
Dosyayı görüntüle @
327798ca
...
...
@@ -29,7 +29,9 @@ The available exception and functions in this module are:
used. This allows computing a running checksum over the
concatenation of several input strings. The algorithm is not
cryptographically strong, and should not be used for
authentication or digital signatures.
authentication or digital signatures. Since the algorithm is
designed for use as a checksum algorithm, it is not suitable for
use as a general hash algorithm.
\end{funcdesc}
\begin{funcdesc}
{
compress
}{
string
\optional
{
, level
}}
...
...
@@ -58,7 +60,9 @@ The available exception and functions in this module are:
checksum; otherwise, a fixed default value is used. This allows
computing a running checksum over the concatenation of several
input strings. The algorithm is not cryptographically strong, and
should not be used for authentication or digital signatures.
should not be used for authentication or digital signatures. Since
the algorithm is designed for use as a checksum algorithm, it is not
suitable for use as a general hash algorithm.
\end{funcdesc}
\begin{funcdesc}
{
decompress
}{
string
\optional
{
, wbits
\optional
{
, bufsize
}}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment