MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / HashString

Method HashString

openvpn/crypto/hashstr.hpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 {
35 public:
36 HashString(DigestFactory& digest_factory,
37 const CryptoAlgs::Type digest_type)
38 : ctx(digest_factory.new_digest(digest_type))
39 {
40 }
41
42 void update(const std::string& str)
43 {

Callers

nothing calls this directly

Calls 1

new_digestMethod · 0.45

Tested by

no test coverage detected