signature library

Functions

isValidSignature(String hexSignature, String strMessage, String hexPublicKey, int chainId) bool
Checks whether the given signature corresponds to hexPublicKey for the given message
recoverSignerPubKey(String hexSignature, String strMessage, int chainId) String
Computes the public key that signed the given messaga against the given signature
signString(String message, String hexPrivateKey, int chainId) String
Computes the address corresponding to the given private key