I want to be able to update a single element in the ciphertext array, something like: ct_a[0] = ct_a[0]*5 but I am getting following error --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[58], line 1 ----> 1 ct_a[0] = ct_a[0]*5 TypeError: 'PaillierEncryptedNumber' object does not support item assignment is there a way to do this?
I want to be able to update a single element in the ciphertext array, something like:
ct_a[0] = ct_a[0]*5
but I am getting following error
TypeError Traceback (most recent call last)
Cell In[58], line 1
----> 1 ct_a[0] = ct_a[0]*5
TypeError: 'PaillierEncryptedNumber' object does not support item assignment
is there a way to do this?