Decrypt: changed domain

This commit is contained in:
M66B 2022-10-19 16:11:42 +02:00
parent 44065bc519
commit 13b914fd17
1 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ import javax.crypto.spec.PBEKeySpec;
public class StyleHelper {
private static final int MAX_PROTECTED_TEXT = 1500;
private static final String DECRYPT_URL = "https://fairemail.net/decrypt/";
private static final List<Class> CLEAR_STYLES = Collections.unmodifiableList(Arrays.asList(
StyleSpan.class,
@ -660,7 +661,7 @@ public class StyleHelper {
out.put(cipherText);
String fragment = Base64.encodeToString(out.array(), Base64.URL_SAFE | Base64.NO_WRAP);
String url = "https://email.faircode.eu/decrypt/#" + fragment;
String url = DECRYPT_URL + "#" + fragment;
return url;
}