Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 547 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 547 Bytes

Paillier

Homomorphic encryption using the Paillier cryptosystem implemented in Go

The following operations are supported

  • Addition of two encrypted integers
  • Subtraction of two encrypted integers
  • Addition of an encrypted and plaintext integer
  • Multiplication of an encrypted and plaintext integer
  • Division of an encrypted integer by a plaintext integer in cases where x mod y == 0

See int_test.go for example usage.