Documentation ¶
Overview ¶
Multi-Hop Anonymization Protocol for one connection. This Protocol uses the public key function Curve25519 and the cipher Twofish in Counter Mode. A Session consists of two end points (Client and Server) and zero or more Intermediate stations. The Intermediate station scrambles the key-exchange handshake without braking it and it scrambles the communicated data without breaking it. The Intermediate station's input and output can not be associated with each other (to identify a Session), except with a 256-bit brute force attack.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Endpt ¶
func Endpt(clt io.ReadWriteCloser) (io.ReadWriteCloser, error)
Server side function to start a session.
func Initiator ¶
func Initiator(srv io.ReadWriteCloser) (io.ReadWriteCloser, error)
Client side function to start a session.
func Intermediate ¶
func Intermediate(clt io.ReadWriteCloser, srv io.ReadWriteCloser) error
Intermediate station function to start a session. If an error is returned, please close the connections, otherwise, don't.
Types ¶
type CryptoRecord ¶
type CryptoRecord struct {
Array [3][32]byte
}