The Data Encryption Standard (DES) is a symmetric-key algorithm for the encryption of electronic data.
Symmetric-key algorithms are algorithms for cryptography that use the same cryptographic keys for
both encryption of plaintext and decryption of ciphertext. The keys, in practice, represent a shared secret between two or more parties that
can be used to maintain a private information link.
This requirement that both parties have access to the secret key is one of the main drawbacks of symmetric key encryption.[Source - wikipedia]
Types of symmetric-key algorithms
- Stream Ciphers
- Block Ciphers
You can search for the detailed description. I am not going in deep here.
Here, with our project we are going to implement
DES - Data Encryption Standared
DESuses a single key for both encryption and decryption
Although DES is not secure, what we are trying to achieve is - we are trying to implement how this will work.
We are playingg with a text file as input and will encrypt it with DES Algorithm and save it.
If any one wants to see the contents again , then they have decrypt it the same Secret key which we are used for encryption.