package
1.2.5
Repository: https://github.com/brutella/hc.git
Documentation: pkg.go.dev

# Packages

# Functions

ED25519GenerateKey return a public and private ED25519 key pair from a string.
ED25519Signature returns the ED25519 signature of data using the key.
NewSecureClientSessionFromSharedKey returns a session from a shared secret key to simulate a HomeKit client.
NewSecureSessionFromSharedKey returns a session from a shared private key.
ValidateED25519Signature return true when the ED25519 signature is a valid signature of the data based on the key, otherwise false.

# Constants

PacketLengthMax is the max length of encrypted packets.

# Interfaces

A Cryptographer is a De- and Encrypter.
Decrypter decrypts bytes.
Encrypter encrypts bytes.