Thank you for using EncDec!This README file explains how to use the EncDec executable program from EncDec, LLC,available for download on the Internet atABOUTThis EncDec encryption tool is a java software application. It uses methods ofadvanced encryption standard (AES), initialization vector (IV), and cipher blockchaining (CBC) to create a secure encryption output of a given file or text source.Review the source code included to examine these methods closer in their usage.PROGRAM STARTUPOn startup, the EncDec program will create four folders onto your file system in theDocuments tree: 'EncDec Files', 'Encrypted', 'Decrypted', and 'Logs'.

The EncDecFiles folder is the root folder of the program. The Encrypted and Decrypted foldersare the subfolders that will store your created files. The Logs folder logs all filetransactions, both standard and error.- GUI -SET MODESet the mode you desire using the Switch Mode button (Encrypt or Decrypt, defaultsto Encrypt on startup). Upload a file or folder you want to process in the first textbox usingthe Upload button. The upload textbox is disabled to prevent changes to the filelocation obtained through your OS system through the upload button.ENCRYPT MODEEnter a passcode string of at least 8 alphanumeric chars to encrypt the file. Somespecial chars are accepted (!@#$%^&.=+?/.;:-).
DO NOT lose or forget your passcode.If the new encrypted file is successfully created, the original passcode will beneeded to decrypt it. Otherwise, the encrypted file(s) will be irrecoverable.
Optionally,you can give the new encrypted file a new file name. If not, the file name willdefault to the name 'file'. Click the Encrypt File button. If successful, the programwill produce a success message in green color at the bottom of the panel. It will alsoprint the full location of the new file(s) in the bottom disabled textbox.
You may copy thislocation and paste it into a file explorer window to retrieve your new file output.DECRYPT MODEEnter the known alphanumeric passcode that was used to encrypt the file(s). The NewFile Name textbox is disabled in decrypt mode because it is not needed.
Click theEncrypt File button. If successful, the program will produce a success message ingreen color at the bottom of the panel. It will also print the full location of thenew file(s) in the bottom disabled textbox.

I'd like to use java to make a cipher of sorts, but im not sure how to go about it.Basically, I'd want the machine to accept a string of text, say 'Abcd'and then a key, say '4532'The program should move the characters forward in the alphabet if the number matching the place of the letter is even, and backward if it's odd.If there is no number, the key should loop around until it's out of characters in the string to change.the program would then print the key. Ideally, if im pseudocoding this correctly, deciphering the string would be a reverse process only applicable with the key.I'm guessing i'd use a combination of an array and if/else statements.I'm not sure where to start.Example & edit String: 'hello' Key: '12'a b c d e f g h i j k l m n o p q r s t u v w x y zBecause the corresponding key value is 1, h will travel backwards that many spaces.h = gbecause e has a 2, it'll move forward that many spaces.e = gthe first l then becomes k, while the second becomes n. The Key is repeated because the string is out of numbers to compare. O turns into n because it's matched with 1.hello would become ggknn with the key 42. Here are possible steps you can take to do this.
This is not an exact and working solution, but it will hopefully get you started. Start by reading input from the console (via Scanner or a BufferedReader for example). Split your input on spaces perhaps, so that you have a String of words. Loop through the String of words, and loop again for which word. You can have a counter that is incremented in each iteration of an inner loop and gets reset at the end of an inner loop. You can use that counter variable to get a position into the key ( keycounter%lengthOfKey) in each iteration of the inner loop.
If the (counter%lengthOfKey)%2 0, you have the even number case for the key, else the odd numbered case. Do whatever encryption at that point (simple substitution cipher for example). There are many methods of Encryption, but if you want to learn about Encryption you should start with the study of XOR encryption. XOR Encryption uses a key and XORs the binary code of every character with the key.

If the key is longer than the encrypted code it creates a One-Time Pad that is impossible to decrypt.XOR - Exclusive OR - Unlike OR both values can not be true at the same time.Simple Explanation:. Pretend you want to encrypt the string 'hello world' with the key 'c'.
For every character in the string XOR it with the key c.Pretend the binary value of h is 1100011 and the binary value of c is 0010110 (these are made up and will not work) then you XOR every corresponding binary value. 1100011XOR0010110-0101 is the XORed binary value.
You then cast the binary value back into character and you do this for every step of the encrypted string.Problems:Insecure for short keys. But very powerful for long keys and creates a one time pad.Example code.