Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Updates for SC v1.47.0.2, Android SDK Tools v21.0.1

Tested against ADT 21 (http://tools.android.com/download/adt-21-preview)
with the currently 'recommended' version of Eclipse from
http://eclipse.org/mobile/ - eclipse-mobile-juno-SR1-linux-gtk-x86_64

Changes:

- As of Spongy Castle v1.47, SC is now split into multiple smaller jars.
  This demo project uses sc-light-jdk15on, scprov-jdk15on &
  scpkix-jdk15on - other projects may be able to get by with just the
  first two of those, or possibly just sc-light-jdk15on by itself.
  Check dependencies at http://rtyley.github.com/spongycastle/#downloads

- 'lib' becomes 'libs'
  http://stackoverflow.com/a/7186389/438886

- rely on default Android ProGuard configuration
  http://tools.android.com/recent/proguardimprovements
latest commit 0a749b6ebe
Roberto Tyley authored
Octocat-spinner-32 .settings Initial commit
Octocat-spinner-32 assets Add sample elliptic-curve crypto key
Octocat-spinner-32 libs Updates for SC v1.47.0.2, Android SDK Tools v21.0.1
Octocat-spinner-32 res Add sample elliptic-curve crypto key
Octocat-spinner-32 screenshots Updates for SC v1.47.0.2, Android SDK Tools v21.0.1
Octocat-spinner-32 src Tidy SpongyCastleDemoActivity
Octocat-spinner-32 .classpath Updates for SC v1.47.0.2, Android SDK Tools v21.0.1
Octocat-spinner-32 .gitignore Initial commit
Octocat-spinner-32 .project Initial commit
Octocat-spinner-32 AndroidManifest.xml Initial commit
Octocat-spinner-32 README.markdown Edited README.markdown via GitHub
Octocat-spinner-32 project.properties Updates for SC v1.47.0.2, Android SDK Tools v21.0.1
README.markdown

Eclipse demo of configuring a project to use Spongy Castle

Spongy Castle aims to be a full replacement for the crippled versions of the Bouncy Castle cryptographic libraries which ship with Android. You can read more about the project here:

https://github.com/rtyley/spongycastle#readme

This demo, spongycastle-eclipse, is just the simplest possible example of how to use Spongy Castle within an Eclipse project - it's not meant to be an interesting app!

I find setting up Spongy Castle in Eclipse pretty simple, but I might be making some assumptions that are worth documenting... the spongycastle-eclipse demo app was prompted by a question on StackOverflow:

http://stackoverflow.com/questions/6898801/how-to-include-the-spongy-castle-jar-in-android/7112272

Eclipse Build Path Settings

Something went wrong with that request. Please try again.