MCPcopy
hub / github.com/pyca/cryptography / encrypt_at_time

Method encrypt_at_time

src/cryptography/fernet.py:183–184  ·  view source on GitHub ↗
(self, msg: bytes, current_time: int)

Source from the content-addressed store, hash-verified

181 return self.encrypt_at_time(msg, int(time.time()))
182
183 def encrypt_at_time(self, msg: bytes, current_time: int) -> bytes:
184 return self._fernets[0].encrypt_at_time(msg, current_time)
185
186 def rotate(self, msg: bytes | str) -> bytes:
187 timestamp, data = Fernet._get_unverified_token_data(msg)

Calls 1

encrypt_at_timeMethod · 0.45