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