MCPcopy
hub / github.com/authlib/authlib / generate_iv

Method generate_iv

authlib/jose/rfc7516/models.py:69–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 return os.urandom(self.CEK_SIZE // 8)
68
69 def generate_iv(self):
70 return os.urandom(self.IV_SIZE // 8)
71
72 def check_iv(self, iv):
73 if len(iv) * 8 != self.IV_SIZE:

Callers 2

serialize_compactMethod · 0.80
serialize_jsonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected