encyption-decryption using DES
Example of encyption-decryption using DES ---------------------------------------------------------- package com.example.des; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.crypto.Cipher; import javax.crypto.CipherInputStream; import javax.crypto.CipherOutputStream; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; public class CipherExample { public static void main(String[] args) { try { String key = "y1$ab??x"; // your key , needs to be at least 8 characters for DES FileInputStream fis = new FileInputStream("Ori...