2

Is it possible to change the signature prefix, which by default:

"\x19Ethereum Signed Message:\n32"

Can I change it to another prefix?

I need to get a signature in solidity in this way:

bytes32 signature = keccak256(abi.encodePacked(prefix, hash));

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.