Giter VIP home page Giter VIP logo

transposition-cipher's Introduction

Transposition cipher

Date Created: 09/18/2016

Wiki: In cryptography, a transposition cipher is a method of encryption by which the positions held by units of plaintext (which are commonly characters or groups of characters) are shifted according to a regular system, so that the ciphertext constitutes a permutation of the plaintext. That is, the order of the units is changed (the plaintext is reordered). Mathematically a bijective function is used on the characters' positions to encrypt and an inverse function to decrypt.

Project Description:

Encrypting and decrypting information using specific generated key in Java. Using class Keygen, generated key will be created and saved in a key.txt. Class Encrypting will read a txt file: "info.txt" and transfer information character by character into array. Later class will create an alphabet array and compare input array with the alphabet, creating a new array with the position of each character of the input text in the alphabet. After that class will read a key.txt file and compare to arrays and encrypt information. Decryption class uses the same concept as encryption class.

Execution:

Use any JAVA IDE (Netbeans, Eclipse, BlueJ) in order to run or command line:

cd Cesar-Cypher/src/encrypting/
javac Encrypting.java
java Encrypting.java

This project is an assignment for Graduate Cryptography Class

transposition-cipher's People

Stargazers

 avatar

Watchers

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