14 #ifndef __INCLUDED__SCOPIRA_TOOL_HASH_H__ 15 #define __INCLUDED__SCOPIRA_TOOL_HASH_H__ 17 #include <scopira/tool/array.h> 18 #include <scopira/tool/flow.h> 19 #include <scopira/tool/export.h> 59 SCOPIRA_EXPORT
hashoflow(
int alg = sha1_c);
64 SCOPIRA_EXPORT
virtual bool failed(
void)
const {
return dm_impl != 0; }
67 SCOPIRA_EXPORT
virtual size_t write(
const byte_t* _buf,
size_t _size);
70 SCOPIRA_EXPORT
void open(
int alg = sha1_c);
72 SCOPIRA_EXPORT
void close(
void);
88 SCOPIRA_EXPORT std::string
hexhash_string(
const std::string &s,
int type = scopira::tool::hashoflow::sha1_c);
Definition: archiveflow.h:20