gardners
5837499f0d
Fixed bug in jni.c for CryptoBoxOpen.
2011-10-27 12:32:58 +10:30
gardners
b2070da074
Added my own version of randombytes() that works properly and eventually
...
times out if it can't succeed for wrapping into java. Timeouts vital as
it lives in a critical section.
2011-10-23 19:49:17 +10:30
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