block
CipherBlock
class CipherBlock()
CipherBlock class for handling ciphertexts.
Ciphertexts can be either an encrypted vector or an encrypted similarity scores.
serialize()
def serialize() -> bytes
Serializes the CipherBlock to bytes.
RETURNS
bytes: Serialized bytes of the CipherBlock.
bytes
Last updated 1 month ago