public virtual string EcRecover(byte[] hashMessage, string signature) { var ecdaSignature = ExtractEcdsaSignature(signature); return(EthECKey.RecoverFromSignature(ecdaSignature, hashMessage).GetPublicAddress()); }
public virtual string EcRecover(byte[] hashMessage, EthECDSASignature signature) { return(EthECKey.RecoverFromSignature(signature, hashMessage).GetPublicAddress()); }