libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
SHA1 Interface Reference

Public Member Functions

 SHA1 ()
 
void push (ArrayBuffer buffer)
 
ArrayBuffer get ()
 

Detailed Description

SHA1 hasher object

Constructor & Destructor Documentation

◆ SHA1()

SHA1::SHA1 ( )

constructor

Member Function Documentation

◆ push()

void SHA1::push ( ArrayBuffer  buffer)

push data to hasher - see gf_sha1_update

Parameters
bufferdata to be hashed

◆ get()

ArrayBuffer SHA1::get ( )

get final hash - the hash context is reset after this call - see gf_sha1_finish

Returns
the hash message