Skip to content

oldoldcoder/paillier_mbedTls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

paillier-mbedTls

Using mbedtls to complete the basic operations of the Paillier algorithm

  • Generate Key
  • Encryption
  • Decryption
  • Ciphertext addition
  • Cryptographic addition
  • Scalar multiplication

Linux下:

cd yourDir
gcc -o paillier paillier.c paillier_test.c -I/usr/include -lmbedtls -lmbedx509 -lmbedcrypto
./paillier

Respect!

Referenced the code of the project:https://github.com/GerardGarcia/paillier-c Respect!

About

Implementing Paillier using mbedTls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages