Skip to content

liagkos/hill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Implementation of Hill cipher in Java

This program was written as an exercise of MSc in Computer Information Systems of Greek Open University, course PLS-62 Specialization in Networks and Communications. It is actually the answer of Question 3 of the 4th Exercise for academic year 2017-2018.

It works with a-zA-z english characters only, and supports encrypt/decrypt with either 0..25 or 1..26 vocabulary.

The program deletes characters other than a-zA-z and converts the string to upper case. If the string length is an odd number, it adds an extra 'Q' characters at the end. The result is displayed in character pairs, separated with dash.

Encryption example:

Input: meet me at the usual place at ten rather than eight oclock

Key Matrix: |9 5|
            |4 7|

Output 0..25: UK-IX-UK-YD-RO-ME-IW-SZ-XW-IO-KU-NU-KH-XH-RO-AJ-RO-AN-QY-EB-TL-KJ-EG-YG
Output 1..26: GV-UI-GV-KO-DZ-YP-UH-EK-JH-UZ-WF-ZF-WS-JS-DZ-MU-DZ-MY-CJ-QM-FW-WU-QR-KR

You can find more information on Hill cipher at Wikipedia.

About

Implementation of Hill cipher in Java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy