From f246043b6989b6b12ef9b96969fab9326391ddf2 Mon Sep 17 00:00:00 2001 From: Axel Galicia Date: Sat, 2 Feb 2019 20:45:30 +0000 Subject: [PATCH] [GH-2293]-Adding clarification of how data needs to be prefix before the UTF-8 HEX --- docs/web3-eth-personal.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/web3-eth-personal.rst b/docs/web3-eth-personal.rst index ad03ac2154f..cd272a57789 100644 --- a/docs/web3-eth-personal.rst +++ b/docs/web3-eth-personal.rst @@ -84,7 +84,9 @@ sign web3.eth.personal.sign(dataToSign, address, password [, callback]) -Signs data using a specific account. +Signs data using a specific account. This data is before UTF-8 HEX decoded and enveloped as follows: ``"\x19Ethereum Signed Message:\n" + message.length + message``. + + .. note:: Sending your account password over an unsecured HTTP RPC connection is highly unsecure.