6 #ifndef IROHA_URSA_CRYPTOPROVIDER_HPP 7 #define IROHA_URSA_CRYPTOPROVIDER_HPP 9 #if !defined(USE_LIBURSA) 10 #error USE_LIBURSA must be defined 67 #endif // IROHA_URSA_CRYPTOPROVIDER_HPP
static bool verify(shared_model::interface::types::ByteRange signed_data, shared_model::interface::types::ByteRange source, shared_model::interface::types::ByteRange public_key)
Definition: crypto_provider.cpp:57
static Keypair generateKeypair()
Definition: crypto_provider.cpp:75
Definition: keypair.hpp:19
static constexpr size_t kPrivateKeyLength
Definition: crypto_provider.hpp:61
static constexpr size_t kPublicKeyLength
Definition: crypto_provider.hpp:60
Definition: crypto_provider.hpp:23
static std::string sign(const Blob &blob, const Keypair &keypair)
Definition: crypto_provider.cpp:31
Definition: command_executor.hpp:12
static constexpr size_t kHashLength
Definition: crypto_provider.hpp:59
static constexpr size_t kSignatureLength
Definition: crypto_provider.hpp:62
std::basic_string_view< std::byte > ByteRange
Definition: byte_range.hpp:16