Documentation ¶
Index ¶
- Constants
- func DecodeConfigTypeLive() *dot.ConfigTypeLive
- func DecodeTypeLives() []*dot.TypeLives
- func EncodeConfigTypeLive() *dot.ConfigTypeLive
- func EncodeTypeLives() []*dot.TypeLives
- func GenerateEd25519Key(rand io.Reader) (privateKey ed25519.PrivateKey, publicKey ed25519.PublicKey, err error)
- func GenerateKey(name string)
- func GenerateX25519Key(rand io.Reader) (privateKey sx255192.PrivateKey, publicKey sx255192.PublicKey, err error)
- func SendSignal(s syscall.Signal) error
- func SignEd25519(privateKey ed25519.PrivateKey, hash []byte) (signature []byte, publicBytes []byte)
- func ToSigningHash(data []byte) (hash []byte)
- func VerifyEd25519(publicKey ed25519.PublicKey, hash []byte, signature []byte) bool
- type Decode
- type Encode
Constants ¶
View Source
const DecodeTypeID = "7e592fd2-6cd8-4953-8fae-8c3a9915bef7"
View Source
const EncodeTypeID = "4f0d40c6-9822-4346-ae23-3a54b866b96a"
Variables ¶
This section is empty.
Functions ¶
func GenerateEd25519Key ¶
func GenerateKey ¶
func GenerateKey(name string)
func GenerateX25519Key ¶
func SendSignal ¶
func SignEd25519 ¶
func SignEd25519(privateKey ed25519.PrivateKey, hash []byte) (signature []byte, publicBytes []byte)
func ToSigningHash ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.