ost::ChecksumDigest(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– ost::ChecksumDigest β€” Library Functions Manual πŸ’–

okay bestie, pull up a chair, we're reading a manpage from the ost manual (section 3, library functions, the good stuff) and honestly? it's a little guy but it works. πŸŽ€


✨ NAME ✨

ost::ChecksumDigest β€” a simple checksum digest function. that's it. that's the whole vibe. simple. checksum. digest. slay. πŸ’…


🌸 SYNOPSIS 🌸

#include <digest.h>

lowkey the most important line here: it inherits ost::Digest. so everything Digest has going on, this baby gets too. πŸ¦‹

🫢 Public Member Functions

ChecksumDigest ()
void initDigest (void)
unsigned getSize (void)
unsigned getDigest (unsigned char *buffer)
void putDigest (const unsigned char *buffer, unsigned length)

πŸ”’ Protected Member Functions

int overflow (int c)
std::ostream & strDigest (std::ostream &os)

πŸ’œ Detailed Description πŸ’œ

A simple checksum digest function. no cap, that's literally the description. it's the checksum hash function you call when you want checksum energy and you don't want drama. ✨

Author

David Sugar dyfet@ostel.com


🧚 Constructor & Destructor Documentation 🧚

🌈 ost::ChecksumDigest::ChecksumDigest ()

the constructor! it exists! it makes a ChecksumDigest! main character energy fr fr. πŸ’–


πŸ‘‘ Member Function Documentation πŸ‘‘

⭐ unsigned ost::ChecksumDigest::getDigest (unsigned char * buffer) [virtual]

Implements ost::Digest.

⭐ unsigned ost::ChecksumDigest::getSize (void) [inline], [virtual]

Implements ost::Digest.

⭐ void ost::ChecksumDigest::initDigest (void) [inline], [virtual]

Implements ost::Digest.

⭐ int ost::ChecksumDigest::overflow (int c) [protected]

protected, so it's giving inner circle only. πŸ™ˆ

⭐ void ost::ChecksumDigest::putDigest (const unsigned char * buffer, unsigned length) [virtual]

Implements ost::Digest.

⭐ std::ostream& ost::ChecksumDigest::strDigest (std::ostream & os) [protected], [virtual]

Implements ost::Digest.

notice how many of these say Implements ost::Digest? yeah. that's the whole theme. it's a Digest implementation and it's not shy about it. 🫢

🌷 Author 🌷

Generated automatically by Doxygen for GNU CommonC++ from the source code. (not me writing a manpage by hand, the robot did it, and honestly? it ate. 😭)


and that's the whole page, bestie!! πŸ’– this one came from GNU CommonC++, dated Sun Dec 27 2020, and you can find it filed under ost::ChecksumDigest(3) in section 3. go forth and checksum responsibly. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from