Adaptations for legacy database importation.

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

No files matched your search

@@ -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();