Commit Graph

4 Commits

Author SHA1 Message Date
gardners
4636cd6577 Added wrapper for safe supply of random bytes for use in Java side. 2011-10-23 18:54:10 +10:30
gardners
77757f550d renamed methods for having all native methods in once class (required
by Java that one library loads into one class only).
Also added what I believe to be sane and efficient array access for
CryptoBox (use same approach for other calls as we write the JNI
interfaces).
2011-10-23 15:53:44 +10:30
gardners
62e3931498 Fixed jni.c to actually be right (the _00024 was a bit hard to guess). 2011-10-21 20:48:47 +10:30
gardners
58446ba5e5 Added initial JNI wrapper. 2011-10-21 10:56:49 +10:30