RED-6254 - hotfix

This commit is contained in:
Timo Bejan 2023-03-08 16:50:50 +01:00
parent dcc83474e6
commit d6948571c5

View File

@ -42,6 +42,9 @@ public class EncryptionDecryptionService {
@SneakyThrows
public String encrypt(String strToEncrypt) {
if(strToEncrypt == null){
return null;
}
return Base64.getEncoder().encodeToString(encrypt(strToEncrypt.getBytes()));
}