1#ifndef IPFS_OPENSSL_SHA2_256_H_
2#define IPFS_OPENSSL_SHA2_256_H_
4#if __has_include(<openssl/sha.h>)
5#define HAS_OPENSSL_SHA 1
8#include <ipfs_client/crypto/hasher.h>
10namespace ipfs::crypto {
16 std::optional<std::vector<Byte>>
hash(ByteView)
override;
Definition openssl_sha2_256.h:13
std::optional< std::vector< Byte > > hash(ByteView) override
Just an observing (non-owning) pointer.
Definition raw_ptr.h:31