Core Secret's crypto code.
C Objective-C Matlab Python C++ Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CryptoPill.xcodeproj
CryptoPill
CryptoPillTests
libsodium @ b70aa80
.gitignore
.gitmodules
COPYING
README.md
libsodium.sh
third_party.txt

README.md

CryptoPill

CryptoPill is the crypto code used by Core Secret. This is a standalone crypto library heavily relying on the crypto primitives introduced by NaCl.

Install

CryptoPill depends on libsodium but this library is not directly provided by CryptoPill and must instead be included as a submodule. Follow these instructions to clone it and keep it in sync.

Clone and compile libsodium

# Add libsodium as Git submodule
git submodule add git://github.com/jedisct1/libsodium.git libsodium
git submodule init

# Build libsodium
./libsodium.sh

# CryptoPill's static lib file and headers are copied to libsodium_dist/
# - Headers from the libsodium_dist/include/sodium/ directory are added to the Xcode project under the group CryptoPill/sodium/
# - A dependancy on libsodium.a is added to the Xcode project

# Later, to update libsodium just run these commands and if needed update its headers in Xcode to keep libsodium in sync
cd libsodium && git pull

Compile CryptoPill

Open this project in Xcode (Xcode 5 is the Xcode's version currently used), compile it and run its tests. It is then possible to include this project in a Xcode workspace to use it for his own project.

Open source projects used by CryptoPill

License

The open source projects included above have their own license terms, please refer to their header files to see their licenses in details. Other than that the CryptoPill's code is licensed under the MIT license.