/MacProtection

Protection of files and folders by MAC (Message Authentification Code)

Primary LanguageJava

PR-MacProtection

Protection of files and folders by MAC (Message Authentification Code).

Security and Cryptography project (ENSISA 2A IR) developped by Karl Woditsch & Georges Olivarès.

Detailed information are readable in the project report (french).

Core architecture (MacProtection)

Core UML

Graphic user interface (MacProtectionGui)

MacProtectionGui is a graphical interface to use MacProtection.

Gui

Console user interface (MacProtectionCui)

MacProtectionCui is a console interface to use MacProtection. There is two common ways to use the console interface.

First : -java -jar

Usable directly with java -jar command.

Example :

# -java -jar MacProtectionCui.jar <command> [<arguments>]

-java -jar MacProtectionCui.jar algos
-java -jar MacProtectionCui.jar export -p password -a HmacMD5 -f check.save -s directoryToScan

Second : cryo

Usable within a bash executable, see package cui.examples for it.

Example :

# cryo

cryo algos
cryo export -p password -a HmacMD5 -f check.save -s directoryToScan

List of commands

  • algos List all algorithms
  • show Show informations about the folder (state, checksum, ...)
  • diff Show changes between source directory and checkfile
  • export Export checkfile of source folder
  • help Get help on a specific or list all commands