This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.web3j.crypto.Keys; | |
import org.web3j.crypto.Sign; | |
import org.web3j.utils.Numeric; | |
import java.security.SignatureException; | |
public class SignUtil { | |
private static final String GETH_SIGN_PREFIX = "\u0019Ethereum Signed Message:\n32"; |