ThingsBoard Client SDK 0.16.0
Client SDK to connect with ThingsBoard IoT Platform from IoT devices (Arduino, Espressif, etc.)
Loading...
Searching...
No Matches
Public Attributes | List of all members
HashGenerator::HashString Struct Reference

Wrapper class for the char array that is big enough to hold the string representation of every possible hash algorithm. More...

#include <HashGenerator.h>

Collaboration diagram for HashGenerator::HashString:
[legend]

Public Attributes

char hash [MAX_STRING_HASH_SIZE]
 

Detailed Description

Wrapper class for the char array that is big enough to hold the string representation of every possible hash algorithm.

Note
The hash string representation requires 2 bytes for every single byte of hash data, therefore the biggest hash string representation has a size of 129 bytes. For the actual hash being SHA512, requiring 512 bits = 64 bytes * 2 for the string representation resulting in 128 bytes + 1 byte for the null termination character.

Member Data Documentation

◆ hash

char HashGenerator::HashString::hash[MAX_STRING_HASH_SIZE]

The documentation for this struct was generated from the following file: