1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Add some basic documentation about Tox ID in source

Lets not make plaintext gods angry by linking to a dead html page.
This commit is contained in:
Zetok Zalbavar 2016-01-14 20:21:00 +00:00
parent 05162a63b9
commit ccfb81b2e4
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -23,9 +23,18 @@
#include <QString>
/*!
* \brief This class represents a Tox ID as specified at:
* https://libtoxcore.so/core_concepts.html
/*
* This class represents a Tox ID.
* An ID is composed of 32 bytes long public key, 4 bytes long NoSpam
* and 2 bytes long checksum.
*
* e.g.
*
* | C7719C6808C14B77348004956D1D98046CE09A34370E7608150EAD74C3815D30 | C8BA3AB9 | BEB9
* | / |
* | / NoSpam | Checksum
* | Public Key (PK), 32 bytes, 64 characters / 4 bytes | 2 bytes
* | | 8 characters| 4 characters
*/
class ToxId
{