MCPcopy Create free account
hub / github.com/mpdavis/python-jose / get_random_bytes

Function get_random_bytes

jose/backends/native.py:11–12  ·  view source on GitHub ↗
(num_bytes)

Source from the content-addressed store, hash-verified

9
10
11def get_random_bytes(num_bytes):
12 return bytes(os.urandom(num_bytes))
13
14
15class HMACKey(Key):

Callers 2

encryptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…