//
pkg.gl
Category
github.com/fichain/go-file
internal
mse
package
1.0.2
Repository:
https://github.com/fichain/go-file.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
14
Dependents
5
Files
456 SLOC
#
Functions
HashSKey
HashSKey returns the hash of key.
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.