List of usage examples for java.security SecureRandom getAlgorithm
public String getAlgorithm()
From source file:Main.java
public static void main(String[] argv) throws Exception { SecureRandom sr = SecureRandom.getInstance("SHA1PRNG"); System.out.println(sr.getAlgorithm()); }