Setup

Setup

Requirements

  • Mac OS X 10.5 or later [has been tested on 10.5.7]
  • or iPhone OS 2.0 or later [not yet tested; see Limitations section below]
  • or iPhone Simulator, for iPhone OS 2.0 or later
  • The MYUtilities library, which is used by MYCrypto.
  • Some understanding of security and cryptography on your part! Even with convenient APIs, cryptographic operations still require care and knowledge to be used safely. There are already too many examples of insecure systems that were incorrectly assembled from secure primitives; don't add your app to that list. Please read a good overview like Practical Cryptography before attempting anything the least bit fancy.

How To Get It

hg clone http://bitbucket.org/snej/mycrypto/ MYCrypto

How To Build It

With Xcode, of course. But before the first time you build MYCrypto.xcode, you'll need to tell Xcode where the MYUtilities sources are. You do this by setting up a named 'Source Tree':

  1. Open Xcode's Preferences panel
  2. Click the "Source Trees" icon at the top
  3. Click the "+" button to add a new item to the list
  4. Fill in the Setting Name as "MYUtilities", the Display Name also as "MYUtilities", and the Path as the absolute filesystem path to where you downloaded MYUtilities to. Do not use a "~" (tilde) in this path! The compiler won't understand it and will give you errors.

Now you're golden. From now on you can just open MYCrypto.xcode and press the Build button.

(So far, the MYCrypto project doesn't build anything that's useful to you, like a framework ... just a tiny program that runs the unit-tests. You can add the source files to your own projects to use them.)

Updated

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.