Adaptations for legacy database importation.

This commit is contained in:
Florian THIERRY
2024-03-21 18:07:33 +01:00
parent 30e5ffa2eb
commit 39663e914d
5 changed files with 12 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ import org.springframework.stereotype.Component;
@Component
public class KeyGenerator {
private static final String ALLOWED_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
private static final int KEY_LENGTH = 10;
private static final int KEY_LENGTH = 14;
public String generateKey() {
SecureRandom random = new SecureRandom();