Skip to content

Instantly share code, notes, and snippets.

@jronal
Created December 18, 2014 05:38
Show Gist options
  • Select an option

  • Save jronal/b5f8d8f35ac21990e0ce to your computer and use it in GitHub Desktop.

Select an option

Save jronal/b5f8d8f35ac21990e0ce to your computer and use it in GitHub Desktop.
package com.danielme.demo.jaxws.cxf.client;
/**
* Created by Jose on 18/12/14.
*/
public class Test {
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
EncryptAES d = new EncryptAES();
System.out.println("Encrypted string:" + d.encrypt("Hello"));
String encryptedText = d.encrypt("Hello");
System.out.println("Decrypted string:" + d.decrypt(encryptedText));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment