format
This commit is contained in:
parent
c2823762a7
commit
fcc4fa4afa
|
@ -26,7 +26,7 @@ public interface SecureRandomDemo {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SecureRandom getSecureRandomForAlgorithm(String algorithm) throws NoSuchAlgorithmException {
|
public static SecureRandom getSecureRandomForAlgorithm(String algorithm) throws NoSuchAlgorithmException {
|
||||||
if(algorithm == null || algorithm.isEmpty()) {
|
if (algorithm == null || algorithm.isEmpty()) {
|
||||||
return new SecureRandom();
|
return new SecureRandom();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue