RED-6254 - hotfix
This commit is contained in:
parent
dcc83474e6
commit
d6948571c5
@ -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()));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user