Skip to content

Instantly share code, notes, and snippets.

View yuanshanhshan's full-sized avatar
🇨🇳
I may be slow to respond.

xuanyuan yuanshanhshan

🇨🇳
I may be slow to respond.
View GitHub Profile
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";