LibLogicalAccess
2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
plugins
logicalaccess
plugins
crypto
sha.hpp
Go to the documentation of this file.
1
7
#ifndef SHA_HPP
8
#define SHA_HPP
9
10
#include <vector>
11
#include <cstdint>
12
#include <iostream>
13
#include <
logicalaccess/lla_fwd.hpp
>
14
#include "logicalaccess/plugins/crypto/lla_crypto_api.hpp"
15
16
namespace
logicalaccess
17
{
18
namespace
openssl
19
{
25
LLA_CRYPTO_API
ByteVector
SHA256Hash
(
const
ByteVector
&buffer);
26
32
LLA_CRYPTO_API
ByteVector
SHA256Hash
(
const
std::string &str);
33
37
LLA_CRYPTO_API
ByteVector
SHA1Hash
(
const
ByteVector
&in);
38
}
39
}
40
41
#endif
/* SHA_HPP */
lla_fwd.hpp
ByteVector
std::vector< uint8_t > ByteVector
Definition:
lla_fwd.hpp:80
logicalaccess::openssl::SHA256Hash
ByteVector SHA256Hash(const ByteVector &buffer)
Get a SHA-256 hash.
Definition:
sha.cpp:16
logicalaccess::openssl::SHA1Hash
ByteVector SHA1Hash(const ByteVector &in)
Definition:
sha.cpp:76
logicalaccess
Definition:
asn1.hpp:9
Generated on Wed Mar 29 2023 13:50:37 for LibLogicalAccess by
1.9.6