FFmpeg 5.1.6
Modules | Functions
Crypto and Hashing

Modules

 AES
 
 Base64
 
 Blowfish
 
 CAST5
 
 CAMELLIA
 
 DES
 
 Hash Functions
 Hash functions useful in multimedia.
 
 HMAC
 
 LZO
 
 RC4
 
 TWOFISH
 
 XTEA
 
 TEA
 

Functions

uint32_t av_get_random_seed (void)
 Get a seed to use in conjunction with random functions. More...
 

Detailed Description

Function Documentation

◆ av_get_random_seed()

uint32_t av_get_random_seed ( void  )

Get a seed to use in conjunction with random functions.

This function tries to provide a good seed at a best effort bases. Its possible to call this function multiple times if more bits are needed. It can be quite slow, which is why it should only be used as seed for a faster PRNG. The quality of the seed depends on the platform.