Skip to content

andrewstarritt/mangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mangle

Overview

mangle accepts input from a file or standard input, mangles the data, and outputs to a file or standard output.

Note: mangle is not cyrptographically secure - that's not its purpose. mangle is the binary equivalent of ROT13 - it does just enough to fool those pesky e-mail filters.

mangle an involutory program, i.e. it also de-mangles as mangle is its own inverse:

mangle --key 'peter pan' foo bar
mangle --key 'peter pan' bar recovered_foo

foo and recovered_foo are identical, bar is a "mess".

Usage

mangle [[-k,--key] phrase] [input_file [output_file]]
mangle -h | --help

Options

--key, -k Provides a mangling key phrase for a little bit more privacy. The same key phrase must be used for mangling and de-mangling. If/when no key phrase is provided, then mangle is compatible with the mangle version 1.1.n.

--help, -h print this help information and exit.

Parameters

input_file the file to be mangled/de-mangled. When no input file specified, or just '-' specified, the input is taken from standard input.

output_file target de-mangled/mangled file. When no output file specified, or just '-' specified, the output is sent to standard output.

Release Notes

1.2.1

mangle now takes an optional --key option.

This does not make mangle cyrptographically secure, however is does add a little bit of privacy.

About

mangle mangles a file just enough to fool those pesky e-mail filters.

Resources

License

Stars

Watchers

Forks

Packages

No packages published