CCF
Loading...
Searching...
No Matches
sha256.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
6
7#include <vector>
8
9namespace ccf::crypto
10{
16 HashBytes sha256(const std::span<uint8_t const>& data);
17
24 HashBytes sha256(const uint8_t* data, size_t len);
25}
Definition base64.h:10
std::vector< uint8_t > HashBytes
Definition hash_bytes.h:10
HashBytes sha256(const std::span< uint8_t const > &data)
Definition hash.cpp:24