package
1.0.2
Repository: https://github.com/fichain/go-file.git
Documentation: pkg.go.dev

# Functions

HashSKey returns the hash of key.
NewStream returns a new Stream.
WrapConn returns a new wrapper around conn.

# Constants

Crypto methods.
Crypto methods.

# Structs

Conn is a wrapper around net.Conn that does encryption/decryption on Read/Write methods.
Stream wraps a io.ReadWriter that automatically does encrypt/decrypt on read/write.

# Type aliases

CryptoMethod is 32-bit bitfield each bit representing a single crypto method.