6 #ifndef IROHA_CRYPTOPROVIDER_HPP 7 #define IROHA_CRYPTOPROVIDER_HPP 36 shared_model::interface::types::SignatureByteRangeView signature,
38 shared_model::interface::types::PublicKeyByteRangeView public_key);
81 #endif // IROHA_CRYPTOPROVIDER_HPP
static Keypair generateKeypair()
Definition: crypto_provider.cpp:37
Definition: keypair.hpp:19
static constexpr size_t kSignatureLength
Definition: crypto_provider.hpp:75
Definition: private_key.hpp:16
static constexpr size_t kPrivateKeyLength
Definition: crypto_provider.hpp:74
static constexpr size_t kSeedLength
Definition: crypto_provider.hpp:76
static constexpr size_t kHashLength
Definition: crypto_provider.hpp:72
static Seed generateSeed()
Definition: crypto_provider.cpp:28
static std::string sign(const Blob &blob, const Keypair &keypair)
Definition: crypto_provider.cpp:17
static bool verify(shared_model::interface::types::SignatureByteRangeView signature, const Blob &orig, shared_model::interface::types::PublicKeyByteRangeView public_key)
Definition: crypto_provider.cpp:22
Definition: crypto_provider.hpp:18
Definition: command_executor.hpp:12
static constexpr size_t kPublicKeyLength
Definition: crypto_provider.hpp:73