Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CryptoPill.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |s|

s.name = "CryptoPill"
s.version = "1.0.1"
s.summary = "CryptoPill is the crypto code used by Core Secret"
s.homepage = "https://github.com/seb-m/CryptoPill"
s.license = { :type => "MIT" }
s.author = { "Sébastien Martini" => "seb@dbzteam.org" }
s.source = { :git => "https://github.com/seb-m/CryptoPill.git", :tag => "1.0.1" }
s.platform = :ios, '7.0'
s.dependency 'libsodium-ios'
s.source_files = 'CryptoPill/**/*.{c,h,m}'
s.requires_arc = true

end
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2014 Sébastien Martini

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@

CryptoPill is the crypto code used by [Core Secret](http://coresecret.io). This is a standalone crypto library heavily relying on the crypto primitives introduced by [NaCl](http://nacl.cr.yp.to/).

## Install (CocoaPods)

## Install
[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like AFNetworking in your projects. See the ["Getting Started" guide for more information](https://github.com/AFNetworking/AFNetworking/wiki/Getting-Started-with-AFNetworking).

#### Podfile

```ruby
platform :ios, '7.0'
pod "CryptoPill"
```

## Install (Manual)

CryptoPill depends on [libsodium](https://github.com/jedisct1/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.

Expand Down