Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SHA1 Class Reference

#include <sha1.hpp>

Public Member Functions

std::string final ()
 
 SHA1 ()
 
void update (const std::string &s)
 
void update (std::istream &is)
 

Static Public Member Functions

static std::string from_file (const std::string &filename)
 

Private Attributes

std::string buffer
 
uint32_t digest [5]
 
uint64_t transforms
 

Detailed Description

Definition at line 35 of file sha1.hpp.

Constructor & Destructor Documentation

◆ SHA1()

SHA1::SHA1 ( )
inline

Definition at line 245 of file sha1.hpp.

Member Function Documentation

◆ final()

std::string SHA1::final ( )
inline

Definition at line 281 of file sha1.hpp.

◆ from_file()

std::string SHA1::from_file ( const std::string &  filename)
inlinestatic

Definition at line 326 of file sha1.hpp.

◆ update() [1/2]

void SHA1::update ( const std::string &  s)
inline

Definition at line 251 of file sha1.hpp.

◆ update() [2/2]

void SHA1::update ( std::istream &  is)
inline

Definition at line 258 of file sha1.hpp.

Member Data Documentation

◆ buffer

std::string SHA1::buffer
private

Definition at line 46 of file sha1.hpp.

◆ digest

uint32_t SHA1::digest[5]
private

Definition at line 45 of file sha1.hpp.

◆ transforms

uint64_t SHA1::transforms
private

Definition at line 47 of file sha1.hpp.


The documentation for this class was generated from the following file:


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20