Cipher Block

module block

class 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.

Last updated