Fix chiffrement

This commit is contained in:
Erwan Croze 2018-07-19 10:00:04 +02:00
parent 50670a4223
commit 679a26d669
2 changed files with 2 additions and 1 deletions

View file

@ -90,7 +90,7 @@ public class chiffrement {
}
try {
BufferedWriter writer = Files.newBufferedWriter(output.toPath(), Charset.forName("UTF-8"));
writer.write(encrypted + "\0", 0, encrypted.length());
writer.write(encrypted, 0, encrypted.length());
writer.close();
} catch (Exception ex) {
System.out.println(ex);

View file

@ -21,3 +21,4 @@
-DENABLE_QRCODE=ON
-DENABLE_LIME=OFF
-DENABLE_LIME_X3DH=ON
-DENABLE_UPDATE_CHECK=ON