How to easily sign and notarize a message in blockchain?