- Timestamp:
- 03/18/19 17:12:10 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/Actions.java
r1250 r1256 17 17 import java.security.PrivateKey; 18 18 import java.security.PublicKey; 19 import java.security.SecureRandom; 19 20 import java.security.cert.CertificateException; 20 21 import java.security.spec.InvalidKeySpecException; … … 359 360 // Generate keys 360 361 // Personal key 361 Random rand = new Random();362 Random rand = new SecureRandom(); 362 363 byte[] keyBytes = new byte[16]; 363 364 rand.nextBytes(keyBytes); … … 420 421 KeyList.PersonalKey.setSetting(backupPersonalKey); 421 422 } 423 424 System.out.println(message + "Establishing user credentials."); 422 425 423 426 // Create credentials
Note:
See TracChangeset
for help on using the changeset viewer.