Skip to content

Instantly share code, notes, and snippets.

@ibrahim-ih
ibrahim-ih / Encrypt and decrypt using the DES algorithm
Created January 6, 2017 09:40
Encrypt and decrypt using the DES algorithm
import java.security.*;
import javax.crypto.*;
//
// encrypt and decrypt using the DES private key algorithm
public class PrivateExample {
public static void main(String[] args) throws Exception {
//