Documentation ¶
Index ¶
- Variables
- 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, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ForceMode bool Prefix string Key string NoBar bool )
Functions ¶
func CalcEncryptSize ¶
func DecryptDESCBC ¶
func StreamDecrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.