TenSEAL
TenSEAL copied to clipboard
A library for doing homomorphic encryption operations on tensors
My python version is 3.10.9, Conda version is conda 23.3.1. MacBook M1 Pro 12.3 version. When I was pip install tenseal, it says"Could not find a version that satisfies the...
## Description The encrypted 5*64 matrix is multiplied with 64*784 plaintext matrix by the mm() function, and it reports ValueError: encrypted1 and encrypted2 parameter mismatch. ## Confusion The encrypted matrix...
imagine we create a context_1 and encrypte vector_1 by context_1 than we create a context_2 and encrypte vector_2 by context_2 the addition between encrypted_vector_1 and encrypted_vector_2 give me wrong result...
## Description Failed to serialize the context when setting the params like this, see the code below. ## How to Reproduce ```python import tenseal as ts ctx = ts.context(ts.SCHEME_TYPE.CKKS, poly_modulus_degree=32768,...
## Description Python copy.deepcopy() throws following exception when the context is public. It only occurs when encryption type is symmetric. ``` Traceback (most recent call last): File "/home/zhihongz/play/test/he_test.py", line 13,...
## Description Building fails on Fedora. ## How to Reproduce 1. Clone TenSeal 2. cd into repository 3. Set `export CC=gcc && export CXX=g++` or `export CC=clang && export CXX=clang++`...
I used the code below to calculate average on unencrypted tensor but finding hard to do on CKKS Tensor even though I know Tenseal only provide addition, subtraction and multiplication...
## Question **Describe your question in ONE SENTENCE.** ## Further Information Describe your question in greater length here. ## Screenshots If applicable, add screenshots to help explain your question. ##...
## Question I want to know how I can do convolution on an image with 3 channels? ## Further Information So I am trying to use the `ts.im2col_encoding` function on...
## Question Is there any examples of a torch tensor input being passed through an encrypted conv2d layer? ## Further Information I am looking to encrypt a model. The model...