Source code for pyhpke.context_interface

[docs] class ContextInterface(object):
[docs] def seal(self, pt: bytes, aad: bytes = b"") -> bytes: raise NotImplementedError()
[docs] def open(self, ct: bytes, aad: bytes = b"") -> bytes: raise NotImplementedError()
[docs] def export(self, exporter_context: bytes, length: int) -> bytes: raise NotImplementedError()