Skip to content

kewarrie/sskma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Simple Shared Key Mutual Authentication

Simple Shared Key Mutual Authentication allows secure communication between two parties, like Alice and Bob, who share a secret key.

  1. Alice initiates by sending a random challenge.
  2. Bob encrypts this challenge with the shared key and sends it back.
  3. Alice decrypts it with the same key.
  4. If successful, she knows Bob has the key.
  5. Then, Alice sends her own challenge, and Bob repeats the process.

This confirms both parties' identities and allows them to communicate securely.

Running the Algorithm

  1. Clone the repository to a local folder.
  2. CD into the folder.
  3. Run the following to create a virtual environment:
python3 -m venv env
  1. Activate the virtual environment (Ubuntu/Linux):
source env/bin/active
  1. Run the program:
python3 sskma.py
  1. Follow the prompts!

About

Simple Shared Key Mutual Authentication

Resources

Stars

Watchers

Forks

Languages