Super simple Solidity code for notarisation on the blockchain
Restrictions:
-
types are identified only by numbers, the contract does not know what they are
-
as a result of 1, there is no format check on hash function results
-
registration of hash strings can be seen only in the event log (via HashRegistered)