Giter Club home page Giter Club logo

hmac-verification-simulator's Introduction

Synopsis

This program was written for the course MTH-816 (Cryptography), and is a simulatation program that shows HMAC verification in process. It consists of a client application and a server application, and the client application sends a message to the server application which utilizes HMAC to ensure the authenicity of the message, and there exists a mode in which the user can send corrupted message (messages that have been altered or tampered with, by allowing the user to alter the message's original content, and the hashed value appended to the message).

Notes

It was written as a proof of concept, and it is discouraged from utilizing in the real-world without further modifications.

Running & Compiling Instructions

In order to run the application, please run the following commands in sequence:

(skip if already compiled)

  • Ensure you're in correct directory
  • "javac server.java"
  • "javac guiClient.java"

then first run the server

  • "java server " where is a valid port number 1025-49151 i.e "java server 4444"

then run client

  • "java guiClient " where is the hostname or IP of the server (if using on same machine then localhost), and is the same portNumber the server is using i.e "java guiClient localhost 4444"

Then the application will run correctly.

hmac-verification-simulator's People

Watchers

James Cloos avatar Paveethan Ramaneeswaran 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.