#include <hmac.hpp>
template<typename H>
class fc::hmac< H >
Definition at line 18 of file hmac.hpp.
◆ hmac()
◆ digest()
Definition at line 23 of file hmac.hpp.
24 {
25 encoder.reset();
26 add_key(c, c_len, 0x36);
27 encoder.write( d, d_len );
28 H intermediate = encoder.result();
29
30 encoder.reset();
31 add_key(c, c_len, 0x5c);
32 encoder.write( intermediate.data(), intermediate.data_size() );
33 return encoder.result();
34 }
The documentation for this class was generated from the following file: