From 362b82c31c77b7a76fadf683e6c03c5f4de41c58 Mon Sep 17 00:00:00 2001 From: EndMove Date: Sat, 26 Feb 2022 18:07:41 +0100 Subject: [PATCH] Ajout exemple de fichier json pour save data --- .../lightcontainer/storage/json-example.json | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app/src/main/java/lightcontainer/storage/json-example.json diff --git a/app/src/main/java/lightcontainer/storage/json-example.json b/app/src/main/java/lightcontainer/storage/json-example.json new file mode 100644 index 0000000..6f982b6 --- /dev/null +++ b/app/src/main/java/lightcontainer/storage/json-example.json @@ -0,0 +1,38 @@ +{ + "unicast_port": 32000, + "multicast_ip": "224.25.0.1", + "multicast_port": 70000, + "network_interface": "LALALALA", + "tls": false, + "users": [ + { + "username": "endmove", + "password": "notre-hash", + "aes_key": "jkjiezjijfizef8e4864", + "files": [ + { + "file_name": "lol.jpeg", + "file_size": 15558, + "iv": "8d484e8e84 (lié à la méthode de cryptage)", + "storage": [ + "lol.benjamin" + ] + }, + { + "file_name": "super-man.png", + "file_size": 24457, + "iv": "zf4fe84f (lié à la méthode de cryptage)", + "storage": [ + "lol.benjamin" + ] + } + ] + }, + { + "username": "michel", + "password": "notre-hash du mdp", + "aes_key": "fjshufihehehuhuhuehu", + "files": [] + } + ] +} \ No newline at end of file