package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Functions

AggregateSignatures aggregates multiple SignatureWithPublicKey objects into a single SignatureWithPublicKey.
NewSignatureWithPublicKey is the constructor for SignatureWithPublicKey objects.
PrivateKeyFromBase58EncodedString creates a PrivateKey from a base58 encoded string.
PrivateKeyFromBytes creates a PrivateKey from the given bytes.
PrivateKeyFromMarshalUtil unmarshals a PrivateKey using a MarshalUtil (for easier unmarshaling).
PrivateKeyFromRandomness generates a new random PrivateKey.
PublicKeyFromBase58EncodedString creates a PublicKey from a base58 encoded string.
PublicKeyFromBytes creates a PublicKey from the given bytes.
PublicKeyFromMarshalUtil unmarshals a PublicKey using a MarshalUtil (for easier unmarshaling).
SignatureFromBase58EncodedString creates a Signature from a base58 encoded string.
SignatureFromBytes unmarshals a Signature from a sequence of bytes.
SignatureFromMarshalUtil unmarshals a Signature using a MarshalUtil (for easier unmarshaling).
SignatureWithPublicKeyFromBase58EncodedString creates a SignatureWithPublicKey from a base58 encoded string.
SignatureWithPublicKeyFromBytes unmarshals a SignatureWithPublicKey from a sequence of bytes.
SignatureWithPublicKeyFromMarshalUtil unmarshals a SignatureWithPublicKey using a MarshalUtil (for easier unmarshaling).

# Constants

PrivateKeySize represents the length in bytes of a BLS private key.
PublicKeySize represents the length in bytes of a BLS public key.
SignatureSize represents the length in bytes of a BLS signature.

# Variables

ErrBase58DecodeFailed is returned if a base58 encoded string can not be decoded.
ErrBLSFailed is returned if any low level BLS method calls fail.
ErrInvalidArgument is returned if a function gets called with an illegal argument.
ErrParseBytesFailed is returned if information can not be parsed from a sequence of bytes.

# Structs

PrivateKey is the type of BLS private keys.
PublicKey is the type of BLS public keys.
SignatureWithPublicKey is a combination of a PublicKey and a Signature that is required to perform operations like Signature- and PublicKey-aggregations.

# Type aliases

Signature is the type of a raw BLS signature.