hidden

package module
v0.0.0-...-f02dbb0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 8

Documentation

Overview

Package hidden provides the ability to "hide" binary data in a string using a hex encoding with non-printing characters. Hidden data is demarcated with a leading and trailing NUL character.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(str string) string

Clean removes any hidden data from an arbitrary string.

func Extract

func Extract(str string) ([][]byte, error)

Extract extracts all hidden data from an arbitrary string.

func FromString

func FromString(str string) ([]byte, error)

FromString extracts the hidden data from a string, which is expected to contain leading and trailing NULs.

func ToString

func ToString(data []byte) string

ToString encodes the given data as a hidden string, including leadnig and trailing NULs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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