{"version":"1.0","type":"rich","title":"Gist aa14fa861a08aa8e530cea50a065ffcc","description":"This example demonstrates how to create a cryptographic signature for a message using the Ethereum private key signing process. It shows the entire workflow of converting a plain-text message into a signed hexadecimal string via the `personalSign` function, which relies on the `ethereumjs-util` library. The code imports `ethUtil` to handle message hashing, elliptic curve signing, and serialization, using methods like `hashPersonalMessage`, `ecsign`, and `bufferToHex`. A hardcoded private key (`privKeyHex`) is passed to `personalSign` with the message `\"terms\"`, and the resulting signature is printed to the console.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-aa14fa861a08aa8e530cea50a065ffcc?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}