Skip to content

ChatSecure/IOCipher-ObjC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Version License Platform

IOCipher allows you to create an encrypted virtual file store within a SQLite/SQLCipher database. The Obj-C version mirrors the NSFileManager API as much as possible for familiarity and easy of use.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

The IOCipher class contains all of the required functionality for working with encrypted files. The GCDWebServerVirtualFileResponse class is for usage with an embedded HTTP server for decypting files on the fly to better integrate with the stock iOS media playback APIs.

Installation

IOCipher is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'IOCipher'

You can also use the 'IOCipher/GCDWebServer' subspec if you want to support decryption on-the-fly via an embedded HTTP server (GCDWebServer). This allows you to support playback in the default iOS media player by decrypting everything as it's requested. Details on how to implement this are available in the Example project.

Author

Chris Ballinger, chris@chatsecure.org

License

IOCipher is available under the LGPLv2.1+ license. See the LICENSE file for more info.