# README
go-crypto
Crypto utility functions used in filecoin
License
This repository is dual-licensed under Apache 2.0 and MIT terms.
Copyright 2019. Protocol Labs, Inc.
# Functions
EcRecover recovers the public key from a message, signature pair.
Equals compares two private key for equality and returns true if they are the same.
GenerateKey creates a new key using secure randomness from crypto.rand.
GenerateKeyFromSeed generates a new key from the given reader.
PublicKey returns the public key for this private key.
Sign signs the given message, which must be 32 bytes long.
Verify checks the given signature and returns true if it is valid.
# Constants
PrivateKeyBytes is the size of a serialized private key.
PublicKeyBytes is the size of a serialized public key.
# Variables
No description provided by the author