Fixed issue with test/go script and SCrypt unit test on Mac OS X.
Run "NOTEST=1 ./build" to build without running unit tests.
Explicitly generate IVs using java.security.SecureRandom,
and pass to the Java Cipher.init method as an IvParameterSpec.