Encryption & Decryption ::: Project 3: (ENGLISH PART.)
The purpose of this project is to focus on different modes of encryption.
-
Step 1 being the most basic.
-
Step 2 introduces the notion of key, in order to give the user the possibility of defining the level of encryption of his message.
-
Step 3 becomes much more structured in terms of code, because I introduce the notion of decryption. A message can now be encrypted as input, and decrypted output depending on the choice of the user (The user interacts here with the class Scanner.).
-
This step becomes much more interesting because we no longer use the Scanner class, but the command prompt to perform encryption or decryption. Example: java Main -mode enc -data "Welcome to my GitHub profile" -key 5
-
Step 5 completes step 4 with the previous behavior, but this time we have the option to complete the command with an input/output file. Example: java Main -mode -in road_to_treasure.txt -out protected.txt -key 5
Encryption & Decryption ::: Projet 3: (FRENCH PART.) Le but de ce projet est de mettre l'accent sur différents modes d'encryption.
-
L'étape 1 étant la plus basique.
-
L'étape 2 introduit la notion la notion de clé, afin de donner la possibilité à l'utilisateur de définir le niveau d'encryption de son message.
-
L'étape 3 devient beaucoup plus structuré en terme de code, car j'introduis la notion de décryption. Un message peut donc désormais être encrypté en entrée, et décrypté en sortie selon le choix de l'utilisateur (L'utilisateur interagit ici avec la classe Scanner.).
-
Cette étape devient beaucoup plus intéressante car nous n'utilisons plus la classe Scanner, mais l'invite de commande afin de procéder à une encryption ou une décryption. Exemple : java Main -mode enc -data "Welcome to my GitHub profile" -key 5
-
L'étape 5 complète l'étape 4 en gardant le précédent comportement, mais cette fois-ci, on a la possibilité de compléter la commande avec un fichier en entrée et un fichier en sortie. Exemple : java Main -mode enc -in road_to_treasure.txt -out protected.txt -key 5