noise: github.com/perlin-network/noise/cipher/aead Index | Files

package aead

import "github.com/perlin-network/noise/cipher/aead"

Index

Package Files

crypto.go mod.go msg.go

func AES256_GCM Uses

func AES256_GCM(sharedKey []byte) (cipher.AEAD, error)

AEAD via. AES-256 GCM (Galois Counter Mode).

func ChaCha20_Poly1305 Uses

func ChaCha20_Poly1305(sharedKey []byte) (cipher.AEAD, error)

AEAD via. ChaCha20 Poly1305. Expects a 256-bit shared key.

func New Uses

func New() *block

func WaitUntilAuthenticated Uses

func WaitUntilAuthenticated(peer *noise.Peer)

func XChaCha20_Poly1305 Uses

func XChaCha20_Poly1305(sharedKey []byte) (cipher.AEAD, error)

AEAD via. XChaCha20 Poly1305. Expected a 256-bit shared key.

type ACK Uses

type ACK struct{ noise.EmptyMessage }

Package aead imports 13 packages (graph) and is imported by 2 packages. Updated 2019-03-28. Refresh now. Tools for package owners.