Versions in this module Expand all Collapse all v1 v1.0.0 Feb 24, 2018 Changes in this version + func CompressAndEncryptBytesToFile(inputBytes []byte, outputFilename string, password string) (err error) + func CompressByte(src []byte) []byte + func CopyFile(src, dst string) (err error) + func CryptReaderToWriter(src io.Reader, dst io.Writer, password string, encrypt bool) (err error) + func DecompressByte(src []byte) []byte + func Decrypt(data []byte, passphrase []byte) (plaintext []byte, err error) + func DecryptAndDecompressBytesFromFile(inputFilename string, password string) (output []byte, err error) + func DecryptBytesFromFile(inputFilename string, password string) (output []byte, err error) + func DecryptFile(inputFilename string, outputFilename string, password string) error + func Dos2Unix(b []byte) []byte + func Encrypt(plaintext []byte, passphrase []byte) (encrypted []byte) + func EncryptBytesToFile(inputBytes []byte, outputFilename string, password string) (err error) + func EncryptFile(inputFilename string, outputFilename string, password string) error + func Exists(path string) bool + func Filemd5Sum(pathToFile string) (result string, err error) + func GetLocalIP() string + func GetRandomName() string + func Hash(data string) string + func HashBytes(data []byte) string + func Md5Sum(s string) (result string) + func RandStringBytesMaskImprSrc(n int) string + func UserHomeDir() string