Commit Graph

4 Commits

Author SHA1 Message Date
c6296ae545 function enc_ngs: Now FFT(msg) is computed before the loop instead of inside it 2022-04-06 14:35:23 +02:00
834d9f2ab9 Implemented function to encrypt polynomials into vector ciphertext
Several parts of the key generation were actually encrypting polynomials
and integers into vector ciphertexts, thus, now they just call the new
function enc_ngs. As a result, the key generation code is simpler to
understand. Morevoer, future applications may want to generate vector
ciphertexts, thus, the function enc_ngs is interesting on its own.
2022-04-06 14:35:23 +02:00
bd0c6ed153 Refactor tests and source 2022-01-18 23:43:13 +01:00
f7c29bedb1 Add files via upload 2022-01-18 15:18:50 +01:00