Giter Club home page Giter Club logo

fxor2's Introduction

fxor

Overview

fxor is a tool to encrypt/decrypt a file using XOR operation to do one-time pad.

Syntax

fxor IN_FILE KEY_FILE
fxor IN_FILE KEY_FILE OUT_FILE [OPTION]

Display usage information:

fxor --help

Display version and copyright information:

fxor --version

Description

fxor is a tool that you can use to encrypt/decrypt IN_FILE content with KEY_FILE content using XOR operation, and output to:

  • The file OUT_FILE.
  • STDOUT if OUT_FILE not defined.

fxor can be used as OTP (One-Time Pad) tool.

IN_FILE: Input file name, Witch will processed.

KEY_FILE: Key file name, Usually random bytes file.

OUT_FILE: Output file name.

Options

-r: Overwrite (destroy contents) OUT_FILE then output

-s: Start output from OUT_FILE beginning and replace bytes, Perfect to encrypt/decrypt IN_FILE and output to IN_FILE!

Examples

Output to OUT_FILE (overwrite if exist):

fxor IN_FILE KEY_FILE OUT_FILE -r

Output to OUT_FILE and replace byte by byte from beginning:

fxor IN_FILE KEY_FILE OUT_FILE -s

Output to STDOUT:

fxor IN_FILE KEY_FILE

Versioning

fxor follows the semantic versioning scheme.

fxor releases

fxor FAQ

See the file 'FAQ' for details.

Requirements

C99 GCC-compatible compiler, e.g.: gcc, clang.

unix-like OS, e.g.: GNU/Linux, *BSD.

Installation

After you unpack the distribution tarball and change into the source directory:

Compile:

% make

Install:

% make install

You can install/copy files in a different destination:

% make PREFIX="/directory/directory" install

Uninstall:

% make uninstall

Or:

% make PREFIX="/directory/directory" uninstall

Reporting bugs

Report fxor bugs to: [email protected]

Or create an issue on GitHub.

Copyright

Copyright (c) 2014-2015 Abderraouf Adjal. All rights reserved.

License: BSD 2-Clause License (Simplified BSD License). There is NO WARRANTY.

See the file 'COPYING' for details.

fxor2's People

Contributors

abderraouf-adjal avatar pfect avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.