Documentation
¶
Index ¶
- func ECDHApply(key *ECDHKey, data string) (string, error)
- func GenerateHMACKey() ([]byte, error)
- func HMAC(p *sync.Pool, key, data []byte) string
- func LoadHMACKey(filename string) ([]byte, error)
- func SaveECDHKey(filename string, ecdhKey *ECDHKey) error
- func SaveHMACKey(filename string, hmacKey []byte) error
- type ECDHKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHMACKey ¶
func LoadHMACKey ¶
func SaveECDHKey ¶
func SaveHMACKey ¶
Types ¶
type ECDHKey ¶
type ECDHKey struct {
// contains filtered or unexported fields
}
func GenerateECDHKey ¶
func LoadECDHKey ¶
func NewECDHKeyFromBytes ¶
Click to show internal directories.
Click to hide internal directories.