This commit is contained in:
Krzysztof Majewski 2019-06-21 16:07:02 +02:00
parent c2823762a7
commit fcc4fa4afa
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }