pailliercryptolib_python
pailliercryptolib_python copied to clipboard
Updating a single element in encrypt array
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?