Using homomorphic encryption Library in Linux environment Helib

Source: Internet
Author: User

The Helib library is written on the basis of the NTL library, so the NTL library must be compiled before the Helib library can be used successfully:

http://www.shoup.net/ntl/--links to NTL library

Https://github.com/shaih/HElib--links to Helib library

1. Compiling the NTL library

1) Enter http://www.shoup.net/ntl/. Click a tour of ntl->obtaining and installing NTL for UNIX. The default is compiled in the first way:

   % gunzip ntl-xxx.tar.gz   % tar XF ntl-xxx.tar   % CD ntl-xxx/src   %./configure prefix= $HOME/sw   % make   % Make check   % make install

2) Cho $HOME can see the path, my $home is '/root ', so the compiled library file is in the/ROOT/SW directory
using the Helib library in 2.QT

1) Use Helib Library is not compiled, arbitrary selection of a test file, such as test_general.cpp, to add dependent files into the project. But we need

Manually join the previously compiled NTL library

2) Add NTL Library in Qt.

A) Right-click->add library->external library->next in the. Pro Project file

b) Select the previously compiled NTL library path

c) Other options can not understand the default

The use of the Helib library is not many people, but once the use of the beginning there will be a lot of problems, the use of the children's shoes welcome contact

Using homomorphic encryption Library in Linux environment Helib

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.