We introduced the
personal_sign method in March 2017 with this blog post.
It was designed to alleviate security concerns from
[eth_sign](./Eth_Sign), by only allowing the signing of a hash prefixed by a pre-defined string (
"\x19Ethereum Signed Message:\n").
The method signature is
You can read our implementation here, or read a working client-side example here, or read a guide to verifying these signatures in solidity.