Giter VIP home page Giter VIP logo

eric-souza / binary-text-encryptor-decryptor Goto Github PK

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

An algorithm, developed in Verilog hardware design language (HDL), that encrypts a text input into binary, then decrypts it back, using logic gates and public/private keys. This system was developed as a Logical Systems subject exercise (UFMG).

SystemVerilog 100.00%
verilog computer-science cryptography logical-operators logical-clocks hardware hdl ufmg encryption

binary-text-encryptor-decryptor's Introduction

Binary to Text Encryption/Decryption Module

This model demonstrates the basic encryption of data using various keys and methods and then finally decrypting the data back to the original data.

Functionality:

  • Initially we take a text input and convert it into binary format using 4 bit encoder.
  • Then this input is negated by passing through NOT logic gates.
  • This input is passed through binary to text converter.
  • This input is further passed to a private key generator which generates a private key using inputs.
  • The previous input is XOR with private key, this is the first encryption layer.
  • Then the input is passed through XOR operations with public key, second encryption layer.
  • Final encrypted input is now generated and further passed to decryption model with private key.
  • On decryption side the input is made with XOR operations using public key.
  • Then this input is passed through XOR operations with private key.
  • The previous output generated is passed to text to binary converter.
  • Then this is negated by passing through NOT logic gates.
  • This data is passed through 4 bit decoder to get back the final text decoded value.

binary-text-encryptor-decryptor's People

Contributors

eric-souza 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.