Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java

Issue 2176883002: Don't specify the SHA1PRNG algorithm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappAuthenticator.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java b/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java
index 5210d69b3637c48f387be7878b4cec96f28d32d7..a57f44b619c5b95bea335963627a71b05065e1e8 100644
--- a/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java
+++ b/content/public/android/java/src/org/chromium/content/browser/crypto/CipherFactory.java
@@ -202,7 +202,7 @@ public class CipherFactory {
}
try {
- SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
+ SecureRandom random = new SecureRandom();
SecureRandomInitializer.initialize(random);
KeyGenerator generator = KeyGenerator.getInstance("AES");
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappAuthenticator.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698