Use SecureRandom rather than Random
Add support for build via ant.