1

Let's say that I want to send the hash of a key to an entity and I want the entity to be sure that the hash could have come only from me.

It is possible to create a message with the hash of the key and then send it signed to the other entity?

Will this cost any gas?

Will a transaction be generated and mined in a block in the blockchain?

David
  • 405
  • 4
  • 12

1 Answers1

1

You can sign whatever you want off-chain with your private key and deliver it to someone else however you want (e.g. HTTP or email). This is how "payment channels" work without incurring transaction fees.

user19510
  • 27,999
  • 2
  • 30
  • 48