Documentation
¶
Index ¶
- func BytesToHex(b []byte) string
- func CalculateFileHash(file *os.File) ([]byte, error)
- func CheckFileExists(filename string) (*os.File, error)
- func Decrypt(key, data []byte) ([]byte, error)
- func Encrypt(key, data []byte) ([]byte, error)
- func HexToBytes(s string) ([]byte, error)
- func ReadBytes(stream network.Stream) ([]byte, error)
- func ReadInput() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToHex ¶
BytesToHex converts a byte slice to a hexadecimal string
func HexToBytes ¶
HexToBytes converts a hexadecimal string to a byte slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.