Latest | 1.0.1 |
---|---|
Homepage | https://github.com/seb-m/CryptoPill |
License | MIT Copyright (c) 2013 Sébastien Martini Permission is hereby granted, free of charge, to any person obtaining a copy The above copyright notice and this permission notice shall be included in THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
Platforms | ios 7.0, requires ARC |
Dependencies | libsodium-ios |
Authors |
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.
Latest podspec
{ "name": "CryptoPill", "version": "1.0.1", "summary": "CryptoPill is the crypto code used by Core Secret", "homepage": "https://github.com/seb-m/CryptoPill", "license": { "type": "MIT", "text": "nCopyright (c) 2013 Su00e9bastien MartininnPermission is hereby granted, free of charge, to any person obtaining a copynof this software and associated documentation files (the "Software"), to dealnin the Software without restriction, including without limitation the rightsnto use, copy, modify, merge, publish, distribute, sublicense, and/or sellncopies of the Software, and to permit persons to whom the Software isnfurnished to do so, subject to the following conditions:nnThe above copyright notice and this permission notice shall be included innall copies or substantial portions of the Software.nnTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORnIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEnAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERnLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INnTHE SOFTWARE.n" }, "authors": { "Su00e9bastien Martini": "[email protected]" }, "source": { "git": "https://github.com/seb-m/CryptoPill.git", "tag": "1.0.1" }, "platforms": { "ios": "7.0" }, "dependencies": { "libsodium-ios": [] }, "source_files": "CryptoPill/**/*.{c,h,m}", "requires_arc": true }
Sun, 06 Mar 2016 14:07:05 +0000