scrambler

package
v0.0.0-...-e72cc72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2017 License: MIT Imports: 7 Imported by: 0

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

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL