Closed mccoysc closed 5 years ago
in example ,i just found that encG1 to encrypt a integer number. no any example for encrypt a memory buffer.
@herumi
she.hpp is homomorphic encryption, so encG1 supports only integer.
can add bigNumber support? then memory buffer can transfer to bignumber and can run as "integer"
@herumi
like this bignumber library: https://github.com/Limeoats/BigNumber
and this one https://github.com/kokke/tiny-bignum-c
can add bigNumber support?
No. my homomorphic encryption algorithm supports one multiplication of ciphertexts for small integers, so it is difficult to deal with generic big integers.
as the title: i have a byte array: char a[64]={}; how can i encrypt a to EncG1 or EncG2? i need encryt every byte using many encryption loops?