Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keeper-Security/Commander
/ get_random_bytes
Function
get_random_bytes
keepercommander/crypto.py:43–44 ·
view source on GitHub ↗
(length)
Source
from the content-addressed store, hash-verified
41
42
43
def
get_random_bytes(length):
44
return
secrets.token_bytes(length)
45
46
47
def
generate_rsa_key():
Callers
4
encrypt_aes_v1
Function · 0.85
encrypt_aes_v2
Function · 0.85
set_stream
Method · 0.85
generate_api_key
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected