Documentation
¶
Index ¶
- type FileData
- func (md *FileData) PrintType()
- func (md *FileData) SetAppendFile(appendfile bool)
- func (md *FileData) SetByteBlock(byteblock bool)
- func (md *FileData) SetFileHashLine(filehashline bool)
- func (md *FileData) SetKeyFile(key string)
- func (md *FileData) SetLogFile(logfile string)
- func (md *FileData) SetOutputFile(outputfile string)
- func (md *FileData) SetmdFormatALL(filehashline bool) (mdfmt mdformat)
- func (md *FileData) SetmdFormatNoSQL(filehashline bool) (mdfmt mdformat)
- func (md *FileData) SetmdFormatText(filehashline bool) (mdfmt mdformat)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileData ¶
type FileData struct {
// contains filtered or unexported fields
}
mdencode struct
func Init ¶
func Init(encodingFormat int, fileName string, filePath string, fileSize uint64, blockSize uint64, modulusSize uint64, fileHashListString string, blockHashListString string, outputfileName string) (mdimport *FileData)
Init returns a new mdFormat loader object this sets the correct mdFormat object func Init(encodingFormat int, fileName string, filePath string, fileSize uint64, blockSize uint64, modulusSize uint64, version string, fileHashListString string, blockHashListString string, outputfileName string) (mdimport *FileData) {
func (*FileData) SetAppendFile ¶
SetAppendFile set the append file mode
func (*FileData) SetByteBlock ¶
SetByteBlock set the byte block mode
func (*FileData) SetFileHashLine ¶
SetFileHashLine set the file hash format if true it will write or display the file hash list as one line
func (*FileData) SetKeyFile ¶
SetKeyFile set the md key this defaults to a default key if the key is less than 16 bytes one of the hash libs faults if the key is to small some of the signatures use a key
func (*FileData) SetLogFile ¶
SetLogFile set the optional logfile
func (*FileData) SetmdFormatALL ¶
setmdFormatNoSQL sets the correct md format object
func (*FileData) SetmdFormatNoSQL ¶
setmdFormatNoSQL sets the correct md format object
func (*FileData) SetmdFormatText ¶
setmdFormat sets the correct md format object