MCPcopy Create free account
hub / github.com/SecurityInnovation/PGPy / gen_key

Method gen_key

pgpy/constants.py:244–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242 return os.urandom(self.block_size // 8)
243
244 def gen_key(self):
245 return os.urandom(self.key_size // 8)
246
247
248class PubKeyAlgorithm(IntEnum):

Callers 3

encryptMethod · 0.80
encryptMethod · 0.80

Calls

no outgoing calls

Tested by 1