zcrypto

package
v1.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfbDecryptoFromFile

func CfbDecryptoFromFile(src, dst, pwd string) error

func CfbEncryptoToFile

func CfbEncryptoToFile(src, dst, pwd string) error

func CfbReadName

func CfbReadName(src io.Reader, pwd string) (string, []byte, error)

func CfbReadNameFromFile

func CfbReadNameFromFile(src, pwd string) (string, error)

从文件名读取原文件名

Types

type FileHeader

type FileHeader struct {
	Name []byte //加密后的原文件名
	IV   []byte //初始化向量
	Rand [64]byte
	Ctr  []byte
}

文件头

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL