//
pkg.gl
Category
github.com/ProtocolONE/rain
internal
mse
package
0.8.7
Repository:
https://github.com/protocolone/rain.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
14
Dependents
5
Files
457 SLOC
#
Functions
HashSKey
No description provided by the author
NewStream
NewStream returns a new Stream.
WrapConn
WrapConn returns a new wrapper around conn.
#
Constants
PlainText
Crypto methods.
RC4
Crypto methods.
#
Structs
Conn
Conn is a wrapper around net.Conn that does encryption/decryption on Read/Write methods.
Stream
Stream wraps a io.ReadWriter that automatically does encrypt/decrypt on read/write.
#
Type aliases
CryptoMethod
CryptoMethod is 32-bit bitfield each bit representing a single crypto method.