42 void update(
const std::string &s);
43 void update(std::istream &is);
46 static std::string
from_file(
const std::string &filename);
49 static const unsigned int DIGEST_INTS = 5;
50 static const unsigned int BLOCK_INTS = 16;
51 static const unsigned int BLOCK_BYTES = BLOCK_INTS * 4;
59 void transform(
uint32_t block[BLOCK_BYTES]);
61 static void buffer_to_block(
const std::string &buffer,
uint32_t block[BLOCK_BYTES]);
62 static void read(std::istream &is, std::string &s,
int max);
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
void update(const std::string &s)
static std::string from_file(const std::string &filename)
dcm! – add UnusedChecking(_enum) below;
unsigned long long uint64_t