Documentation ¶
Index ¶
Constants ¶
View Source
const ID = 2
View Source
const Name = "ed25519"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivKeyEd25519 ¶
type PrivKeyEd25519 [64]byte
PrivKey
func (PrivKeyEd25519) Bytes ¶
func (privKey PrivKeyEd25519) Bytes() []byte
func (PrivKeyEd25519) PubKey ¶
func (privKey PrivKeyEd25519) PubKey() crypto.PubKey
type PubKeyEd25519 ¶
type PubKeyEd25519 [32]byte
PubKey
func (PubKeyEd25519) Bytes ¶
func (pubKey PubKeyEd25519) Bytes() []byte
func (PubKeyEd25519) KeyString ¶
func (pubKey PubKeyEd25519) KeyString() string
func (PubKeyEd25519) VerifyBytes ¶
func (pubKey PubKeyEd25519) VerifyBytes(msg []byte, sig crypto.Signature) bool
type SignatureEd25519 ¶
type SignatureEd25519 [64]byte
Signature
func (SignatureEd25519) Bytes ¶
func (sig SignatureEd25519) Bytes() []byte
func (SignatureEd25519) IsZero ¶
func (sig SignatureEd25519) IsZero() bool
func (SignatureEd25519) String ¶
func (sig SignatureEd25519) String() string
type SignatureS ¶
Click to show internal directories.
Click to hide internal directories.