Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCipherNotSupported = errors.New("cipher not supported")
Functions ¶
func NewEncryptedConn ¶
NewEncryptedConn wraps a stream-oriented net.Conn with cipher.
Types ¶
type Cipher ¶
type KeySizeError ¶
type KeySizeError int
func (KeySizeError) Error ¶
func (e KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.