Should probably use methods that actually exist in the Java 7 implementation of SecureRandom.