Giter Club home page Giter Club logo

ncrypt's Introduction

ncrypt

a simple symmetric key encryption utility

Usage:

./ncrypt [-d -k <key> -i <infilename> -o <outfilename>]

if no input or output filename is provided ncrypt will use stdin and stdout respectively and can be used as follows:

to encrypt: cat <infilename> | ./ncrypt -k <key> > <outfilename>
              or: cat <infilename> | ./ncrypt -k <key> -o <outfilename>
              or: ./ncrypt -k <key> -i <infilename> > <outfilename>

same for decryption but with -d option added

to compile: gcc ncrypt.c -o ncrypt or just make

ncrypt's People

Contributors

muckypops avatar

Watchers

 avatar

ncrypt's Issues

Add filename parameter

add -i flag to command line to read an input file and a -o for an output filename. if no output filename given just add a .ncrypt to the end of the input filename

recreate in Rust

recreate this code in Rust as an exercise and to compare performance

use better datatypes

uint8_t type needs to be used for tmpchar in rotatebits and flipcrypt. this creates problem detecting EOF in loop, however.

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.