ledger-core
HashAlgorithmHelper.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from crypto.djinni
3 
4 #ifndef DJINNI_GENERATED_HASHALGORITHMHELPER_HPP
5 #define DJINNI_GENERATED_HASHALGORITHMHELPER_HPP
6 
7 #include <cstdint>
8 #include <vector>
9 #ifndef LIBCORE_EXPORT
10  #if defined(_MSC_VER)
11  #include <libcore_export.h>
12  #else
13  #define LIBCORE_EXPORT
14  #endif
15 #endif
16 
17 namespace ledger { namespace core { namespace api {
18 
21 public:
22  virtual ~HashAlgorithmHelper() {}
23 
29  virtual std::vector<uint8_t> ripemd160(const std::vector<uint8_t> & data) = 0;
30 
36  virtual std::vector<uint8_t> sha256(const std::vector<uint8_t> & data) = 0;
37 
43  virtual std::vector<uint8_t> keccak256(const std::vector<uint8_t> & data) = 0;
44 };
45 
46 } } } // namespace ledger::core::api
47 #endif //DJINNI_GENERATED_HASHALGORITHMHELPER_HPP
virtual std::vector< uint8_t > ripemd160(const std::vector< uint8_t > &data)=0
virtual std::vector< uint8_t > keccak256(const std::vector< uint8_t > &data)=0
virtual std::vector< uint8_t > sha256(const std::vector< uint8_t > &data)=0
Definition: HashAlgorithmHelper.hpp:20
Definition: Account.cpp:8