Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SecurityInnovation/PGPy
/ gen_iv
Method
gen_iv
pgpy/constants.py:241–242 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
239
raise
NotImplementedError(repr(self))
240
241
def
gen_iv(self):
242
return
os.urandom(self.block_size // 8)
243
244
def
gen_key(self):
245
return
os.urandom(self.key_size // 8)
Callers
2
encrypt_keyblob
Method · 0.80
encrypt
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected