Skip to content

Commit d0eea87

Browse files
committed
DOC: Minor doc update for entropy
Fix small typo in entropy docstring
1 parent 9e92e8f commit d0eea87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

randomstate/entropy.pyx

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def random_entropy(size=None, source='system'):
3030
single value is returned.
3131
source : str {'system', 'fallback'}
3232
Source of entropy. 'system' uses system cryptographic pool.
33-
'fallback' uses a has to the time and process id.
33+
'fallback' uses a hash of the time and process id.
3434
3535
Returns
3636
-------
@@ -40,7 +40,8 @@ def random_entropy(size=None, source='system'):
4040
Notes
4141
-----
4242
On Unix-like machines, reads from ``/dev/urandom``. On Windows machines
43-
reads from the RSA Full cryptographic service provider.
43+
reads from the RSA algorithm provided by the cryptographic service
44+
provider.
4445
4546
This function reads from the system entropy pool and so samples are
4647
not reproducible. In particular, it does *NOT* make use of a

0 commit comments

Comments
 (0)