ffmpeg.libavutil.sha

@file @ingroup lavu_sha Public header for SHA-1 & SHA-256 hash function implementations.

Members

Functions

av_sha_alloc
AVSHA* av_sha_alloc()

Allocate an AVSHA context.

av_sha_final
void av_sha_final(AVSHA* context, ubyte* digest)

Finish hashing and output digest value.

av_sha_init
int av_sha_init(AVSHA* context, int bits)

Initialize SHA-1 or SHA-2 hashing.

av_sha_update
void av_sha_update(AVSHA* ctx, const(ubyte)* data, uint len)

Update hash value.

Static variables

av_sha_size
int av_sha_size;

@defgroup lavu_sha SHA @ingroup lavu_hash SHA-1 and SHA-256 (Secure Hash Algorithm) hash function implementations.

Structs

AVSHA
struct AVSHA
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta