6 #ifndef KAGOME_CORE_CRYPTO_SR25519_SR25519_PROVIDER_IMPL_HPP 7 #define KAGOME_CORE_CRYPTO_SR25519_SR25519_PROVIDER_IMPL_HPP 28 Sr25519Keypair generateKeypair(
const Sr25519Seed &seed)
const override;
30 outcome::result<Sr25519Signature> sign(
32 gsl::span<const uint8_t> message)
const override;
34 outcome::result<bool> verify_deprecated(
35 const Sr25519Signature &signature,
36 gsl::span<const uint8_t> message,
37 const Sr25519PublicKey &public_key)
const override;
39 outcome::result<bool> verify(
40 const Sr25519Signature &signature,
41 gsl::span<const uint8_t> message,
42 const Sr25519PublicKey &public_key)
const override;
50 #endif // KAGOME_CORE_CRYPTO_SR25519_SR25519_PROVIDER_IMPL_HPP libp2p::crypto::random::CSPRNG CSPRNG
libp2p::crypto::random::CSPRNG CSPRNG
std::shared_ptr< CSPRNG > generator_