Skip to content

nskilton1993/Java-DES-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

DES Encryption & Decryption in Java

This project demonstrates how to perform symmetric encryption and decryption using the DES (Data Encryption Standard) algorithm in Java. It includes a simple implementation that encrypts a string using a DES key and then decrypts it back to its original form.

๐Ÿ” About DES

DES is a symmetric-key block cipher developed in the 1970s. It encrypts data in 64-bit blocks using a 56-bit key. While considered insecure for modern applications, it remains important in learning cryptographic fundamentals.


๐Ÿ“ File Included

  • Encrypt_Decrypt_DES.java
    Contains both encryption and decryption logic using javax.crypto libraries.

๐Ÿ› ๏ธ How It Works

  1. A plaintext string is converted to bytes.
  2. A DES key is generated (or hardcoded).
  3. The plaintext is encrypted using DES.
  4. The ciphertext is decrypted back to plaintext.

โ–ถ๏ธ How to Run

javac Encrypt_Decrypt_DES.java
java Encrypt_Decrypt_DES
- Follow the promts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages