Skip to content

Commit cebf408

Browse files
authored
Update S1.java
1 parent a48aea9 commit cebf408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S1.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void run(){
180180

181181
try{
182182
KeySpec spec = new PBEKeySpec(pass.toCharArray(),salt,65536, 128);
183-
SecretKeyFactory f = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1");
183+
SecretKeyFactory f = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA512");
184184
byte hash[] = f.generateSecret(spec).getEncoded();
185185

186186
hp = enc.encodeToString(hash);

0 commit comments

Comments
 (0)