hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
type.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_MULTIHASH_HASH_TYPE_HPP
7 #define IROHA_MULTIHASH_HASH_TYPE_HPP
8 
9 #include <cstdint>
10 
11 namespace iroha {
12  namespace multihash {
14  enum Type : uint64_t {
15  //
16  // --- Hash types ---
17  //
18  sha1 = 0x11,
19  sha256 = 0x12,
20  sha512 = 0x13,
21  blake2s128 = 0xb250,
22  blake2s256 = 0xb260,
23 
24  //
25  // --- public key and signature types ---
26  //
27  ed25519pub = 0xed,
28 
29  };
30  } // namespace multihash
31 } // namespace iroha
32 
33 #endif
Definition: type.hpp:21
Type
https://github.com/multiformats/js-multihash/blob/master/src/constants.js
Definition: type.hpp:14
Definition: type.hpp:19
Definition: type.hpp:27
Definition: block_query.hpp:15
Definition: type.hpp:18
Definition: type.hpp:22
Definition: type.hpp:20