Truxton create media hashset
Jump to navigation
Jump to search
This will create a hash set file of every unique hash in a piece of media.
Syntax
void truxton_create_media_hashset( uint64_t truxton_handle, char const * media_id, char const * filename );
Parameters
truxton_handle
The handle created by the truxton_create call.
media_id
The string representation of a globally unique identifier of the media to export the hashes from.
This corresponds to the [ID] column of the [Media] table.
filename
The name of the file where the hashes will be written.
Sample
void save_truxton_hash_set( char const * media_id )
{
char output_filename[ MAX_PATH ];
strcpy_s( output_filename, sizeof( output_filename ), "\\\\Server\\Hashsets\\Media_" );
strcat_s( output_filename, sizeof( output_filename ), media_id );
strcat_s( output_filename, sizeof( output_filename ), ".hashset" );
uint64_t truxton = truxton_create();
truxton_create_media_hashset( truxton, media_id, output_filename );
truxton_destroy( truxton );
}