Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FBlake3 Class Reference

#include <Blake3.h>

+ Collaboration diagram for FBlake3:

Public Member Functions

 FBlake3 ()
 
 FBlake3 (const FBlake3 &)=delete
 
FBlake3operator= (const FBlake3 &)=delete
 
void Reset ()
 
void Update (FMemoryView View)
 
void Update (const void *Data, uint64 Size)
 
void Update (const FCompositeBuffer &Buffer)
 
FBlake3Hash Finalize () const
 

Static Public Member Functions

static FBlake3Hash HashBuffer (FMemoryView View)
 
static FBlake3Hash HashBuffer (const void *Data, uint64 Size)
 
static FBlake3Hash HashBuffer (const FCompositeBuffer &Buffer)
 

Private Attributes

TAlignedBytes< 1912, 8 > HasherBytes
 

Detailed Description

Calculates a BLAKE3 hash.

Definition at line 93 of file Blake3.h.

Constructor & Destructor Documentation

◆ FBlake3() [1/2]

FBlake3::FBlake3 ( )
inline

Definition at line 96 of file Blake3.h.

+ Here is the call graph for this function:

◆ FBlake3() [2/2]

FBlake3::FBlake3 ( const FBlake3 & )
delete

Member Function Documentation

◆ Finalize()

FBlake3Hash FBlake3::Finalize ( ) const

Finalize the hash of the input data.

May be called any number of times, and more input may be added after.

◆ HashBuffer() [1/3]

static FBlake3Hash FBlake3::HashBuffer ( const FCompositeBuffer & Buffer)
static

◆ HashBuffer() [2/3]

static FBlake3Hash FBlake3::HashBuffer ( const void * Data,
uint64 Size )
static

◆ HashBuffer() [3/3]

static FBlake3Hash FBlake3::HashBuffer ( FMemoryView View)
static

Calculate the hash of the buffer.

◆ operator=()

FBlake3 & FBlake3::operator= ( const FBlake3 & )
delete

◆ Reset()

void FBlake3::Reset ( )

Reset to the default state in which no input has been written.

+ Here is the caller graph for this function:

◆ Update() [1/3]

void FBlake3::Update ( const FCompositeBuffer & Buffer)

◆ Update() [2/3]

void FBlake3::Update ( const void * Data,
uint64 Size )

◆ Update() [3/3]

void FBlake3::Update ( FMemoryView View)

Add the buffer as input to the hash. May be called any number of times.

Member Data Documentation

◆ HasherBytes

TAlignedBytes<1912, 8> FBlake3::HasherBytes
private

Definition at line 122 of file Blake3.h.


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