Ask a question to get started
Enter to send•Shift+Enter new line
DecryptResult( self, plaintext: T, replacement: T | None = None, )
typing.Generic[T]
Decrypted data and optional replacement ciphertext.
Return this from a decrypt handler when encrypted data should be replaced, such as after rotating its encryption key. Returning plaintext directly remains supported when no replacement is needed.