Coder Social home page Coder Social logo

vladyslav-panchenko280 / vigenere-cipher Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 7 KB

Cross-platform vigenere cipher application for node.js

Python 10.99% TypeScript 14.22% Shell 8.57% C 55.20% JavaScript 11.02%
c cryptography javascript typescript cross-platform shell-script cross-validation node-gyp node-api

vigenere-cipher's Introduction

Vigenère Cipher Application

Overview

This project implements the Vigenère cipher, a method of encrypting alphabetic text through a simple form of polyalphabetic substitution. The implementation is done in C for performance and efficiency, integrated into a Node.js environment for ease of use and cross-platform scalability. This setup is ideal for developers looking for a cryptography solution with minimal DevOps configuration.

Features

  • High Performance: Implemented in C to leverage speed and efficiency.
  • Cross-Platform: Integrated with Node.js, making it runnable on any platform that supports Node.js (Windows, macOS, Linux).
  • Minimal Setup: Easy setup process, thanks to Node.js and a small amount of required DevOps configuration.
  • Scalable: Designed to be easily scalable across multiple environments and machines.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (version 12.x or later)
  • npm (usually included with Node.js)
  • A C compiler like gcc (for compiling the C module)

Installation

Follow these steps to get the application running on your local machine:

  1. Clone the repository:
    git clone https://github.com/yourusername/vigenere-cipher.git
    cd vigenere-cipher
    
  2. Install dependencies and make build: npm install

Usage

To use the application, you need to provide a key and specify whether you want to encrypt or decrypt text. The application reads from a file named env.json for encryption and outputs to env.enc.json, and vice versa for decryption.

Use this script to start ./scripts/start.sh

Configuring

The application requires minimal configuration, handled through environment variables. Make sure to set these in your .env file or directly in your environment:

KEY: The encryption/decryption key used by the cipher.

Acknowledgments

vigenere-cipher's People

Watchers

Vladyslav 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.