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
1c69c3e3
Kaydet (Commit)
1c69c3e3
authored
Nis 11, 2015
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use imperative
üst
0fa23e4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
ssl.rst
Doc/library/ssl.rst
+7
-7
No files found.
Doc/library/ssl.rst
Dosyayı görüntüle @
1c69c3e3
...
@@ -286,7 +286,7 @@ Random generation
...
@@ -286,7 +286,7 @@ Random generation
.. function:: RAND_bytes(num)
.. function:: RAND_bytes(num)
Return
s
*num* cryptographically strong pseudo-random bytes. Raises an
Return *num* cryptographically strong pseudo-random bytes. Raises an
:class:`SSLError` if the PRNG has not been seeded with enough data or if the
:class:`SSLError` if the PRNG has not been seeded with enough data or if the
operation is not supported by the current RAND method. :func:`RAND_status`
operation is not supported by the current RAND method. :func:`RAND_status`
can be used to check the status of the PRNG and :func:`RAND_add` can be used
can be used to check the status of the PRNG and :func:`RAND_add` can be used
...
@@ -303,7 +303,7 @@ Random generation
...
@@ -303,7 +303,7 @@ Random generation
.. function:: RAND_pseudo_bytes(num)
.. function:: RAND_pseudo_bytes(num)
Return
s
(bytes, is_cryptographic): bytes are *num* pseudo-random bytes,
Return (bytes, is_cryptographic): bytes are *num* pseudo-random bytes,
is_cryptographic is ``True`` if the bytes generated are cryptographically
is_cryptographic is ``True`` if the bytes generated are cryptographically
strong. Raises an :class:`SSLError` if the operation is not supported by the
strong. Raises an :class:`SSLError` if the operation is not supported by the
current RAND method.
current RAND method.
...
@@ -319,10 +319,10 @@ Random generation
...
@@ -319,10 +319,10 @@ Random generation
.. function:: RAND_status()
.. function:: RAND_status()
Return
s ``True`` if the SSL pseudo-random number generator has been seeded with
Return
``True`` if the SSL pseudo-random number generator has been seeded
'enough' randomness, and ``False`` otherwise. You can use :func:`ssl.RAND_egd`
with 'enough' randomness, and ``False`` otherwise. You can use
and :func:`ssl.RAND_add` to increase the randomness of the pseudo-random
:func:`ssl.RAND_egd` and :func:`ssl.RAND_add` to increase the randomness of
number generator.
the pseudo-random
number generator.
.. function:: RAND_egd(path)
.. function:: RAND_egd(path)
...
@@ -337,7 +337,7 @@ Random generation
...
@@ -337,7 +337,7 @@ Random generation
.. function:: RAND_add(bytes, entropy)
.. function:: RAND_add(bytes, entropy)
Mix
es
the given *bytes* into the SSL pseudo-random number generator. The
Mix the given *bytes* into the SSL pseudo-random number generator. The
parameter *entropy* (a float) is a lower bound on the entropy contained in
parameter *entropy* (a float) is a lower bound on the entropy contained in
string (so you can always use :const:`0.0`). See :rfc:`1750` for more
string (so you can always use :const:`0.0`). See :rfc:`1750` for more
information on sources of entropy.
information on sources of entropy.
...
...
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