FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Modules | Functions
Crypto and Hashing
Common utility functions

Modules

 Adler32
 
 AES
 
 Base64
 
 Blowfish
 
 CAST5
 
 CRC32
 
 HMAC
 
 LZO
 
 MD5
 
 RIPEMD
 
 SHA
 
 SHA512
 
 XTEA
 

Functions

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

Detailed Description

Function Documentation

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.

Definition at line 109 of file random_seed.c.

Referenced by av_parse_color(), config_input(), do_adobe_auth(), do_llnw_auth(), init(), main(), make_digest_auth(), mkv_write_attachments(), mkv_write_header(), mxf_gen_umid(), ogg_write_header(), rtmp_server_handshake(), rtp_write_header(), rtsp_read_setup(), and sap_write_header().