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
bde40078
Kaydet (Commit)
bde40078
authored
Mar 19, 2008
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mention that crc32 and adler32 are available in a different module (zlib).
Some people look for them in hashlib.
üst
0279f439
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
hashlib.rst
Doc/library/hashlib.rst
+4
-0
hashlib.py
Lib/hashlib.py
+3
-0
No files found.
Doc/library/hashlib.rst
Dosyayı görüntüle @
bde40078
...
@@ -21,6 +21,10 @@ algorithm (defined in Internet :rfc:`1321`). The terms secure hash and message
...
@@ -21,6 +21,10 @@ algorithm (defined in Internet :rfc:`1321`). The terms secure hash and message
digest are interchangeable. Older algorithms were called message digests. The
digest are interchangeable. Older algorithms were called message digests. The
modern term is secure hash.
modern term is secure hash.
.. note::
If you want the adler32 or crc32 hash functions they are available in
the :mod:`zlib` module.
.. warning::
.. warning::
Some algorithms have known hash collision weaknesses, see the FAQ at the end.
Some algorithms have known hash collision weaknesses, see the FAQ at the end.
...
...
Lib/hashlib.py
Dosyayı görüntüle @
bde40078
...
@@ -18,6 +18,9 @@ md5(), sha1(), sha224(), sha256(), sha384(), and sha512()
...
@@ -18,6 +18,9 @@ md5(), sha1(), sha224(), sha256(), sha384(), and sha512()
More algorithms may be available on your platform but the above are
More algorithms may be available on your platform but the above are
guaranteed to exist.
guaranteed to exist.
NOTE: If you want the adler32 or crc32 hash functions they are available in
the zlib module.
Choose your hash function wisely. Some have known collision weaknesses.
Choose your hash function wisely. Some have known collision weaknesses.
sha384 and sha512 will be slow on 32 bit platforms.
sha384 and sha512 will be slow on 32 bit platforms.
...
...
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