-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Proposal:
This issue suggests adding new os constants.
os.GRND_INSECURE
os.getrandom(/* some byte size */, GRND_INSECURE) # It cannot be used with os.GRND_RANDOM
It can return a pseudo-random number when the entropy pool is not initialized, instead of blocking.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancement