Commit 3047bf3f authored by wannes's avatar wannes
Browse files

A bit more salt will do

parent d2d0073c
......@@ -84,7 +84,7 @@ public class User implements OwnedEntity {
try {
Security.addProvider(new BouncyCastleProvider());
byte[] salt = new byte[4];
byte[] salt = new byte[16];
new Random().nextBytes(salt);
MessageDigest md = MessageDigest.getInstance("SHA-512", "BC");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment