----------------------------------------------------------------------------
IBM Fully Homomorphic Encryption Toolkit For iOS
----------------------------------------------------------------------------
This source code is the packaged Xcode project and resources needed to build the open source <a href="https://github.com/homenc/HElib/">HELib</a> <a href="https://en.wikipedia.org/wiki/Homomorphic_encryption">Fully Homomorphic Encryption</a> library on an iPhone Simulator.
To learn more about FHE in general, and what it can be used for, you can check out our [FAQ/Content Solutions page](https://www.ibm.com/support/z-content-solutions/fully-homomorphic-encryption/).
--------------------------------------------
Compiling and Running the Xcode Project
--------------------------------------------
If you want to dive right in and get started using the SDK, please see the [Getting Started Document](GettingStarted.md).
## Need Help to Get Started?
Corporate clients can email [email protected] to request a design thinking workshop about building FHE solutions for your business use cases at no cost for applicants accepted to our sponsor user program. For corporate support outside of our sponsor user program, <a href="https://www.ibm.com/security/services/homomorphic-encryption" target="_blank">IBM Security Homomorphic Encryption Services</a> can help unlock the value of your sensitive data without decrypting it to help maintain your privacy and compliance controls. Our trusted advisors offer commercial education, expert support and testing environments to build your prototype applications.
----------------------------------------------------------------------------
About Xcode Projects
----------------------------------------------------------------------------
If you are a developer interested in Homomorphic Encryption and you develop for iOS, this project will help you get started with a pre-configured [Xcode](https://developer.apple.com/xcode/) Project that can save you time. If you are new to Xcode, an Xcode project is a directory structure for all the resources needed to build one or more apps using the Xcode IDE from Apple. You can install Xcode directly through the App Store.
The contents of this Xcode project includes the pre-determined compilation procedure and the required dependency relationships between source code modules. Typically an Xcode project contains one or more build targets, which specify the compilation procedure for the final executable or library products. This project comes complete with default build settings for HELib as well as the two external dependencies required by HELib, namely [The GNU Multiple Precision Arithmetic Library (GMP)](https://gmplib.org/) and [NTL Lib](https://www.shoup.net/ntl/) which is a number theoretic library.
The targets of the project are:
• Privacy Preserving Search (sample app)
• helib Library
--------------------------------------------
Source Code Overview:
--------------------------------------------
The code base is split up into a few major components. Upon initial installation, a script is needed to download and compile the source code and its dependencies. This code is then accessed through the Xcode workspace, `fhe-toolkit-ios.xcworkspace`. Always use the workspace when trying to work with any of these components.
* The Helib source code is a copy of the public open source repo of [HElib](https://github.com/homenc/HElib). The files have been compiled into a static library and linked to the `fhe-toolkit-ios` project file. This is done through a shared workspace. All work should be done through the `fhe-toolkit-ios.xcworkspace` file.
* The `include/helib` directory contains all of the .h files that are a copy of the public open source repo of [HElib](https://github.com/homenc/HElib). None of these files have been modified from the original files from that repo, but they need to be included in the Xcode project in order to build. In the Xcode project, under the target, under `Build Settings`, there is a path that links to these files under `Header Search Paths`. The current path is a relative path to the files from your system directory. They currently reside in `dependencies/HElib/include`. If you change the location of these files it will be neccessary to update this path.
* The Helib library has two dependencies from other open source libraries. They are built when the `setup.sh` script is run for the first time. They currently build for the x86_64 ARCHITECTURE and get added to the `dependencies` folder. Nothing needs to be done with them, but they are linked as relative paths on the target, in `Build Settings` under `Library Search Paths`, for the .a files, and `Header Search Paths` for the .h files. Again if you alter the location of these files, you will need to update these paths accordingly.
* ntl -
* gmplib-so-iphonesimulator-x86_64 -
--------------------------------------------
fhe-toolkit-ios.xcworkspace
--------------------------------------------
A workspace is an Xcode document that groups projects and other documents so you can work on them together. A workspace can contain any number of Xcode projects, plus any other files you want to include.
This workspace contains the iOS sample code for running in the iPhone Simulator as well as the helib target for building the helib.a static library.
--------------------------------------------
fhe-toolkit-ios.xcodeproj
--------------------------------------------
This directory contains the project files describing the Xcode build environment.
* project.xcworkspace -
* xcshareddata/xcschemes -
* project.pbxproj -
--------------------------------------------
fhe-toolkit-ios
--------------------------------------------
This is the Xcode Directory that contains all of the files that are neccessary to build the iOS target. The Helib files are imported into the `CapitalDetailViewController.mm`
* Assets.xcassets -
* Base.lproj -
* AppDelegate.h -
* AppDelegate.m -
* Info.plist -
* CountryCapitalTableViewController.h
* CountryCapitalTableViewController.m
* CountryData.h
* CountryData.m
* data.json
* main.m -
没有合适的资源?快使用搜索试试~ 我知道了~
IBMiOS全同态加密工具包.zip
共108个文件
h:34个
cpp:26个
png:17个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 85 浏览量
2023-03-23
21:11:06
上传
评论
收藏 2.17MB ZIP 举报
温馨提示
IBMiOS全同态加密工具包
资源推荐
资源详情
资源评论
收起资源包目录
IBMiOS全同态加密工具包.zip (108个子文件)
Encoder.cpp 10KB
HelayersTimer.cpp 9KB
AbstractEncoder.cpp 8KB
HelibBgvEncoder.cpp 7KB
AbstractCiphertext.cpp 6KB
HelibCkksEncoder.cpp 5KB
HelibCiphertext.cpp 5KB
CTile.cpp 4KB
HelibCkksContext.cpp 4KB
HeContext.cpp 4KB
HelibContext.cpp 4KB
HelibCkksCiphertext.cpp 4KB
HelibBgvContext.cpp 4KB
BinIoUtils.cpp 4KB
HelibBgvCiphertext.cpp 3KB
HelibBgvPlaintext.cpp 3KB
HelibCkksPlaintext.cpp 2KB
HelibConfig.cpp 2KB
HelibBgvNativeFunctionEvaluator.cpp 2KB
PTile.cpp 2KB
Saveable.cpp 2KB
HeTraits.cpp 2KB
AlwaysAssert.cpp 2KB
NativeFunctionEvaluator.cpp 2KB
AbstractPlaintext.cpp 2KB
AbstractFunctionEvaluator.cpp 2KB
countries_dataset.csv 4KB
.gitignore 445B
.gitmodules 102B
Encoder.h 20KB
CTile.h 12KB
HeContext.h 10KB
BitwiseEvaluator.h 9KB
AbstractBitwiseEvaluator.h 7KB
HelayersTimer.h 6KB
AbstractEncoder.h 6KB
AbstractCiphertext.h 5KB
BinIoUtils.h 5KB
PTile.h 4KB
HeTraits.h 4KB
HelibBgvPlaintext.h 4KB
HelibBgvContext.h 4KB
HelibBgvEncoder.h 4KB
HelibContext.h 4KB
HelibCkksPlaintext.h 3KB
HelibCkksContext.h 3KB
HelibCkksEncoder.h 3KB
HelibCiphertext.h 3KB
HelibConfig.h 3KB
AbstractPlaintext.h 3KB
AlwaysAssert.h 3KB
HelibCkksCiphertext.h 3KB
NativeFunctionEvaluator.h 2KB
HelibBgvCiphertext.h 2KB
Saveable.h 2KB
AbstractFunctionEvaluator.h 2KB
HelibBgvNativeFunctionEvaluator.h 2KB
CapitalDetailViewController.h 2KB
hebase.h 1KB
CountryData.h 1KB
CountryCapitalTableViewController.h 1KB
SceneDelegate.h 1KB
AppDelegate.h 1KB
Contents.json 2KB
Contents.json 62B
LICENSE 1KB
CountryCapitalTableViewController.m 3KB
SceneDelegate.m 3KB
CountryData.m 3KB
AppDelegate.m 2KB
main.m 1KB
GettingStarted.md 6KB
README.md 6KB
CODE_OF_CONDUCT.md 3KB
FixingXcode.md 2KB
Contributing.md 1KB
CapitalDetailViewController.mm 16KB
project.pbxproj 79KB
Info.plist 2KB
IDEWorkspaceChecks.plist 238B
IDEWorkspaceChecks.plist 238B
morphic_encrypt_1024.png 441KB
Step 6.png 281KB
Step 7.png 265KB
Step 5.png 206KB
Step 2.png 161KB
Step 1.png 160KB
FX_Step_3.png 160KB
Step 8.png 121KB
DownloadSelectionLocation.png 96KB
Step 3.png 85KB
FX_Step_2.png 77KB
Xcode_Icon.png 46KB
morphic_encrypt_180.png 28KB
morphic_encrypt_167.png 24KB
morphic_encrypt_152.png 20KB
morphic_encrypt_120.png 15KB
morphic_encrypt_76.png 7KB
setup.sh 7KB
Main.storyboard 11KB
共 108 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功