GithubHelp home page GithubHelp logo

logix's Introduction

LogiX

LogiX is a minimal encryption and decryption package that utilizes boolean logic gates and various mathematical functions for generating pair keys. This package provides a simple yet robust solution for secure communication and data protection.

Note: Package Availability

This package, LogiX, is available for free download directly from the GitHub repository. However, it is not published on npm. I created this package as a personal project to showcase my skills and for the joy of coding. Feel free to download the repository from GitHub and incorporate it into your projects. Enjoy using LogiX!

Usage

Once LogiX is installed and imported, you can create an instance of the LogiX class and perform encryption and decryption operations.

Here's an example of how to use LogiX:

// Import LogiX
import LogiX from 'location/to/logix/folder';

// Create an instance of LogiX
const logix = new LogiX();

// Generate keys
logix.createKeys();

// Encrypt a plain text using the public key
const encryptedText = logix.encryptPublic('Hello, LogiX!');

// Decrypt the encrypted text using the private key
const decryptedText = logix.decryptPrivate(encryptedText);

console.log(decryptedText); // Output: Hello, LogiX!

In the example above, we first import LogiX into our project. Then we create an instance of LogiX and generate the pair keys using the createKeys() method. We can then encrypt a plain text using the encryptPublic() method, which utilizes the public key. Finally, we decrypt the encrypted text using the decryptPrivate() method, which uses the private key.

Feel free to explore other methods provided by the LogiX class for more advanced encryption and decryption functionalities.

logix's People

Contributors

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