scclib
Stable Cloud Computing C++ Library
Public Member Functions | List of all members
scc::crypto::HashWriter Class Reference

Helper class to hash an outgoing stream. More...

#include <hash.h>

Inheritance diagram for scc::crypto::HashWriter:
Inheritance graph
[legend]
Collaboration diagram for scc::crypto::HashWriter:
Collaboration graph
[legend]

Public Member Functions

 HashWriter (scc::util::Writer &wr, Hash &chk)
 
virtual size_t write (const void *loc, size_t len)
 Write interface. More...
 
virtual void shutdown ()
 

Detailed Description

Helper class to hash an outgoing stream.

Examples
scclib/crypto/unittest/hash_digest.cc.

Definition at line 238 of file hash.h.

Member Function Documentation

◆ write()

virtual size_t scc::crypto::HashWriter::write ( const void *  ,
size_t   
)
inlinevirtual

Write interface.

Write a block of data to a maximum. Return number of bytes written.

Implements scc::util::Writer.

Definition at line 245 of file hash.h.


The documentation for this class was generated from the following file: