crypto

package

Versions in this module

v1
Aug 14, 2019
Jun 25, 2019
Changes in this version
+ func CompressPubkey(pubkey *ecdsa.PublicKey) []byte darwin/amd64, linux/amd64, windows/amd64
+ func DecompressPubkey(pubkey []byte) (*ecdsa.PublicKey, error) darwin/amd64, linux/amd64, windows/amd64
+ func Ecrecover(hash, sig []byte) ([]byte, error) darwin/amd64, linux/amd64, windows/amd64
+ func S256() elliptic.Curve darwin/amd64, linux/amd64, windows/amd64
+ func SigToPub(hash, sig []byte) (*ecdsa.PublicKey, error) darwin/amd64, linux/amd64, windows/amd64
+ func Sign(hash []byte, prv *ecdsa.PrivateKey) (sig []byte, err error) darwin/amd64, linux/amd64, windows/amd64
+ func VerifySignature(pubkey, hash, signature []byte) bool darwin/amd64, linux/amd64, windows/amd64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL