GenerateNonce

Generates a random nonce (number used once) of the desired length

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemTypes.h

Include

#include "OnlineSubsystemTypes.h"

Syntax

void GenerateNonce
(
    uint8 * Nonce,
    uint32 Length
)

Remarks

Generates a random nonce (number used once) of the desired length

Parameters

Parameter

Description

Nonce

the buffer that will get the randomized data

Length

the number of bytes to generate random values for