Versions in this module Expand all Collapse all v0 v0.4.17 Apr 17, 2022 v0.4.16 Apr 14, 2022 Changes in this version + var ForceMode bool + var Key string + var NoBar bool + var Prefix string + func CalcEncryptSize(size int64) int64 + func Decrypt(file string) error + func DecryptDESCBC(cipherText, key, iv []byte) ([]byte, error) + func Encrypt(file string) error + func EncryptDESCBC(plainText []byte, key, iv []byte) ([]byte, error) + func InitCmd(cmd *cobra.Command) + func Padding(src []byte, blockSize int) []byte + func StreamDecrypt(reader io.Reader, writer io.Writer, Key string, blockSize int64, ...) + func StreamEncrypt(reader io.Reader, writer io.Writer, Key string, blockSize int64, ...)