Noise-C
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Macros
Fingerprint types

Macros

#define NOISE_FINGERPRINT_BASIC   NOISE_ID('F', 1)
 Fingerprint format is the hexadecimal encoding of the first 16 bytes of the SHA256 hash of the public key. More...
 
#define NOISE_FINGERPRINT_FULL   NOISE_ID('F', 2)
 Fingerprint format is the hexadecimal encoding of the entire 32 bytes of the SHA256 hash of the public key. More...
 
#define NOISE_MAX_FINGERPRINT_LEN   256
 Recommended maximum size for buffers to be passed to noise_format_fingerprint(), noise_dhstate_format_fingerprint(), etc. More...
 

Detailed Description

Macro Definition Documentation

#define NOISE_FINGERPRINT_BASIC   NOISE_ID('F', 1)

Fingerprint format is the hexadecimal encoding of the first 16 bytes of the SHA256 hash of the public key.

#define NOISE_FINGERPRINT_FULL   NOISE_ID('F', 2)

Fingerprint format is the hexadecimal encoding of the entire 32 bytes of the SHA256 hash of the public key.

#define NOISE_MAX_FINGERPRINT_LEN   256

Recommended maximum size for buffers to be passed to noise_format_fingerprint(), noise_dhstate_format_fingerprint(), etc.