package keys
import "go.mau.fi/whatsmeow/util/keys"
Package keys contains a utility struct for elliptic curve keypairs.
Index ¶
- type KeyPair
- func NewKeyPair() *KeyPair
- func NewKeyPairFromPrivateKey(priv [32]byte) *KeyPair
- func (kp *KeyPair) CreateSignedPreKey(keyID uint32) *PreKey
- func (kp *KeyPair) Sign(keyToSign *KeyPair) *[64]byte
- type PreKey
Types ¶
type KeyPair ¶
func NewKeyPair ¶
func NewKeyPair() *KeyPair
func NewKeyPairFromPrivateKey ¶
func (*KeyPair) CreateSignedPreKey ¶
func (*KeyPair) Sign ¶
type PreKey ¶
func NewPreKey ¶
Source Files ¶
keypair.go
- Version
- v0.0.0-20250326122532-6680c9a6e9a7 (latest)
- Published
- Mar 26, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 5 hours ago –
Tools for package owners.