data61 / python-paillier

A library for Partially Homomorphic Encryption in Python
Other
599 stars 134 forks source link

how to change the type of the data that after encrypting? #84

Closed wlnancy closed 3 years ago

wlnancy commented 3 years ago

when using it to encrypt tensor, how to change the type of the data after encrypting cannot into other type like float or tensor?Because I want to save the encrypted data using list or or numpy but it failed. And the error is that the type can't be 'EncryptedNumber'.

hardbyte commented 3 years ago

There isn't really enough information in your issue to understand what is going on. Please reopen with a minimal example if this is still an issue.