MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _PyOS_URandom

Function _PyOS_URandom

Python/random.c:232–252  ·  view source on GitHub ↗

Fill buffer with size pseudo-random bytes from the operating system random number generator (RNG). It is suitable for for most cryptographic purposes except long living private keys for asymmetric encryption. Return 0 on success, raise an exception and return -1 on error. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

posix_urandomFunction · 0.85

Calls 4

PyErr_FormatFunction · 0.85
win32_urandomFunction · 0.85
vms_urandomFunction · 0.85
dev_urandom_pythonFunction · 0.85

Tested by

no test coverage detected