Documentation ¶
Overview ¶
Package aead provides a block cipher using aead.GCM with AES 256 encryption.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
T wraps aead.GCM to provide synchronized nonces between the requestor and responder assuming they interact in a strict request/response manner.
func NewCipher ¶
NewCipher returns a Cipher for RPC versions greater than or equal to 15. The cipher used is cipher.AEAD created by cipher.NewGCM with an AES256 key derived from the private/publick key pairs using ECDH.
func (*T) ChannelBinding ¶
Click to show internal directories.
Click to hide internal directories.