Documentation ¶
Overview ¶
Package naclbox provides a block cipher using nacl/{box,secretbox}
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 go.crypto/nacl/{box,secretbox} 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 11. The underlying cipher is nacl/secretbox.
func (*T) ChannelBinding ¶
Click to show internal directories.
Click to hide internal directories.