Documentation ¶
Overview ¶
Package steg provides functions for steganography encoding and decoding.
Index ¶
- func Decode(carrier io.Reader, result io.Writer) error
- func DecodeByFileNames(carrierFileName string, resultName string) (err error)
- func Encode(carrier io.Reader, data io.Reader, result io.Writer) error
- func EncodeByFileNames(carrierFileName, dataFileName, resultFileName string) (err error)
- func MultiCarrierDecode(carriers []io.Reader, result io.Writer) error
- func MultiCarrierDecodeByFileNames(carrierFileNames []string, resultName string) (err error)
- func MultiCarrierEncode(carriers []io.Reader, data io.Reader, results []io.Writer) error
- func MultiCarrierEncodeByFileNames(carrierFileNames []string, dataFileName string, resultFileNames []string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode performs steganography decoding of Reader with previously encoded data by the Encode function and writes to result Writer.
func DecodeByFileNames ¶
DecodeByFileNames performs steganography decoding of data previously encoded by the Encode function. The data is decoded from file carrier and it is saved in separate new file
func Encode ¶
Encode performs steganography encoding of data Reader in carrier and writes it to the result Writer encoded as PNG image.
func EncodeByFileNames ¶
EncodeByFileNames performs steganography encoding of data file in carrier file and saves the steganography encoded product in new file.
func MultiCarrierDecode ¶
MultiCarrierDecode performs steganography decoding of Readers with previously encoded data chunks by the MultiCarrierEncode function and writes to result Writer. NOTE: The order of the carriers MUST be the same as the one when encoding.
func MultiCarrierDecodeByFileNames ¶
MultiCarrierDecodeByFileNames performs steganography decoding of data previously encoded by the MultiCarrierEncode function. The data is decoded from carrier files and it is saved in separate new file NOTE: The order of the carriers MUST be the same as the one when encoding.
func MultiCarrierEncode ¶
MultiCarrierEncode performs steganography encoding of data Reader in equal pieces in each of the carriers and writes it to the result Writers encoded as PNG images.
func MultiCarrierEncodeByFileNames ¶
func MultiCarrierEncodeByFileNames(carrierFileNames []string, dataFileName string, resultFileNames []string) (err error)
MultiCarrierEncodeByFileNames performs steganography encoding of data file in equal pieces in each of the carrier files and saves the steganography encoded product in new set of result files.
Types ¶
This section is empty.