libspades
Ace of Spades library
PacketSendNonce Struct Reference

Sends the client a nonce to sign after receiving its public key. More...

#include <protocol.h>

Data Fields

uint8_t packetID
 65
 
uint8_t subPacketID
 3 (Client<--Server)
 
uint8_t nonce [VARIABLE_LENGTH]
 Data to be signed with the client's secret key.
 

Detailed Description

Sends the client a nonce to sign after receiving its public key.

The nonce MUST NEVER be re-used, and should be from a secure random source. At least 32 bytes is recommended.


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