CCF
Loading...
Searching...
No Matches
include
ccf
crypto
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
5
#include "
ccf/crypto/hash_bytes.h
"
6
7
#include <vector>
8
9
namespace
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
}
hash_bytes.h
ccf::crypto
Definition
base64.h:10
ccf::crypto::HashBytes
std::vector< uint8_t > HashBytes
Definition
hash_bytes.h:10
ccf::crypto::sha256
HashBytes sha256(const std::span< uint8_t const > &data)
Definition
hash.cpp:24
Generated by
1.9.8