Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keeper-Security/Commander
/ unpad_data
Function
unpad_data
keepercommander/crypto.py:38–40 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
36
37
38
def
unpad_data(data):
# type: (bytes) -> bytes
39
unpadder = PKCS7(16*8).unpadder()
40
return
unpadder.update(data) + unpadder.finalize()
41
42
43
def
get_random_bytes(length):
Callers
2
decrypt_aes_v1
Function · 0.85
readinto
Method · 0.85
Calls
1
update
Method · 0.45
Tested by
no test coverage detected