{"action":"closed","issue":{"url":"https://api.github.com/repos/matthijskooijman/arduino-lmic/issues/177","repository_url":"https://api.github.com/repos/matthijskooijman/arduino-lmic","labels_url":"https://api.github.com/repos/matthijskooijman/arduino-lmic/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/matthijskooijman/arduino-lmic/issues/177/comments","events_url":"https://api.github.com/repos/matthijskooijman/arduino-lmic/issues/177/events","html_url":"https://github.com/matthijskooijman/arduino-lmic/issues/177","id":327220199,"number":177,"title":"AES understanding","user":{"login":"ClementDecaux","id":23460885,"avatar_url":"https://avatars0.githubusercontent.com/u/23460885?v=4","gravatar_id":"","url":"https://api.github.com/users/ClementDecaux","html_url":"https://github.com/ClementDecaux","followers_url":"https://api.github.com/users/ClementDecaux/followers","following_url":"https://api.github.com/users/ClementDecaux/following{/other_user}","gists_url":"https://api.github.com/users/ClementDecaux/gists{/gist_id}","starred_url":"https://api.github.com/users/ClementDecaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClementDecaux/subscriptions","organizations_url":"https://api.github.com/users/ClementDecaux/orgs","repos_url":"https://api.github.com/users/ClementDecaux/repos","events_url":"https://api.github.com/users/ClementDecaux/events{/privacy}","received_events_url":"https://api.github.com/users/ClementDecaux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-29T08:35:37Z","updated_at":"2018-05-29T12:56:33Z","closed_at":"2018-05-29T12:56:33Z","author_association":"NONE","body":"I transmit several times the same message \"ABC\" but each time I receive different data on server-side. I'm using the original AES encryption set in config.h. However, I don't understand where the 256-bits key is stored (in ../aes/lmic.c ?) and why my data are encrypted differently for each transmission? Is there a way to decrypt my data?\r\n\r\nI've also observed that each time I reset the arduino, I reset the encryption \"loop\". I guess there is a loop mechanism that change the 256-bits key according to the Tables found in aes/lmic.c. Am I right ? \r\n\r\n**Exemple :**\r\n\r\n_Original message :_ \"ABC\"\r\n\r\n_1st data received :_ \"CfGy\"\r\n_2nd data received :_ \"LutR\"\r\n_3rd data received :_ \"boOp\"\r\n**--> Arduino Reset**\r\n_4th data received :_ \"CfGy\"\r\n_5th data received :_ \"LutR\"\r\n_6th data received :_ \"boOp\"\r\n"}}
{"actor":{"display_login":"ClementDecaux"}}