diff --git a/src/toxcore_enums_and_consts.py b/src/toxcore_enums_and_consts.py index 6a4e471..8630f0e 100644 --- a/src/toxcore_enums_and_consts.py +++ b/src/toxcore_enums_and_consts.py @@ -190,7 +190,7 @@ TOX_ERR_GET_PORT = { TOX_PUBLIC_KEY_SIZE = 32 -TOX_ADDRESS_SIZE = TOX_PUBLIC_KEY_SIZE + 48 +TOX_ADDRESS_SIZE = TOX_PUBLIC_KEY_SIZE + 6 TOX_MAX_FRIEND_REQUEST_LENGTH = 1016 @@ -199,3 +199,9 @@ TOX_MAX_MESSAGE_LENGTH = 1372 TOX_MAX_NAME_LENGTH = 128 TOX_MAX_STATUS_MESSAGE_LENGTH = 1007 + +TOX_SECRET_KEY_SIZE = 32 + +TOX_FILE_ID_LENGTH = 32 + +TOX_HASH_LENGTH = 32