package
1.1.0
Repository: https://github.com/nextdotid/proof_server.git
Documentation: pkg.go.dev

# Functions

BytesToPubKey is compatible with comressed / uncompressed pubkey bytes.
CompressedPubkeyHex has no "0x".
GenerateKeypair generates a keypair.
RecoverPubkeyFromPersonalSignature extract a public key from signature.
SignPersonal signs a payload using given secret key.
StringToPubkey is compatible with comressed / uncompressed pubkey hex, and with / without '0x' head.
ValidatePersonalSignature checks whether (eth.personal.sign) signature, payload and pubkey are matched.