package
1.3.25
Repository: https://github.com/skycoin/skywire-utilities.git
Documentation: pkg.go.dev

# Functions

GenerateDeterministicKeyPair generates deterministic key pair.
GenerateKeyPair creates key pair.
NewPubKey converts []byte to a PubKey.
RandByte returns rand N bytes.
SamePubKeys returns true when the provided public key slices have the same keys.
SHA256FromBytes converts []byte to SHA256.
SignPayload creates Sig for payload using SHA256.
SumSHA256 sum sha256.
VerifyPubKeySignedPayload verifies that SHA256 hash of the payload was signed by PubKey.

# Type aliases

PubKey is a wrapper type for cipher.PubKey that implements common golang interfaces.
PubKeys represents a slice of PubKeys.
SecKey is a wrapper type for cipher.SecKey that implements common golang interfaces.
SHA256 is a wrapper type for cipher.SHA256 that implements common golang interfaces.
Sig is a wrapper type for cipher.Sig that implements common golang interfaces.