Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PublicKeySize is the size, in bytes, of public keys as used in this package. PublicKeySize = 32 // PrivateKeySize is the size, in bytes, of private keys as used in this package. PrivateKeySize = 64 // SeedSize is the size, in bytes, of private key seeds. SeedSize = 32 )
Variables ¶
This section is empty.
Functions ¶
func NewKeyIterator ¶
NewKeyIterator creates and initializes a new Ed25519 key iterator. The iterator is NOT thread safe; you must create a separate iterator for each worker instead of sharing a single instance.
Types ¶
type KeyPair ¶
type KeyPair struct { // PublicKey is the public key of the Ed25519 key pair. PublicKey PublicKey // PrivateKey is the private key of the Ed25519 key pair. PrivateKey PrivateKey }
KeyPair is a type with both Ed25519 keys.
Click to show internal directories.
Click to hide internal directories.