#include <sha1.hpp>
Definition at line 31 of file sha1.hpp.
◆ encoder()
fc::sha1::encoder::encoder |
( |
| ) |
|
◆ ~encoder()
fc::sha1::encoder::~encoder |
( |
| ) |
|
◆ put()
void fc::sha1::encoder::put |
( |
char | c | ) |
|
|
inline |
Definition at line 38 of file sha1.hpp.
void write(const char *d, uint32_t dlen)
◆ reset()
void fc::sha1::encoder::reset |
( |
| ) |
|
Definition at line 55 of file sha1.cpp.
55 {
56 SHA1_Init( &my->ctx);
57}
◆ result()
sha1 fc::sha1::encoder::result |
( |
| ) |
|
Definition at line 50 of file sha1.cpp.
50 {
52 SHA1_Final((
uint8_t*)h.data(), &my->ctx );
53 return h;
54}
◆ write()
void fc::sha1::encoder::write |
( |
const char * | d, |
|
|
uint32_t | dlen ) |
Definition at line 47 of file sha1.cpp.
47 {
48 SHA1_Update( &my->ctx, d, dlen);
49}
The documentation for this class was generated from the following files: