Chat freely about anything...

User avatar
By prchakal
#61032 I made one example about use chacha20 and poly1305:
https://gist.github.com/prsolucoes/1bda ... ad3dee042e

But i have some questions:

1 - The "key" need be a GUID 32 Bytes?
2 - What is "IV"? And it is always a number of 8 digits?
3 - What is "authData"? Is the 8 number of Apple Homekit for example? What data we enter here?
4 - What is compute tag and why we need it?

I need transfer some JSON data from ESP8266 to my Android app using this example. What is the correct flow to be sure that it can be broken? I read that we need make a session for each client and each client receive it unique key to decrypt data. Can anyone help me?

Thanks.