core

package
v0.0.0-...-f015fb3 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package core - write and extract file to png

Index

Constants

View Source
const (
	IEND_CHUNK_LENGTH_OFFSET = -12
)

Variables

View Source
var (
	CHUNK_TYPE = []byte{0x64, 0x78, 0x58, 0x6D} // "dxXm"
)

Functions

func CreateHPNG

func CreateHPNG(mainFileName string, filetoHideName string)

CreateHPNG - create new PNG file with hidden file

func MakeHPNG

func MakeHPNG(mainFile []byte, filetoHide []byte) []byte

MakeHPNG - compose chunks to one chunk

func ReverseHPNG

func ReverseHPNG(sourceFile string, outputFile string)

ReverseHPNG - retrieve hide file

func TakeFromHPNG

func TakeFromHPNG(srcFile []byte) []byte

TakeHPNG - return hidden chunk

Types

This section is empty.

Jump to

Keyboard shortcuts

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