Created
December 18, 2014 05:38
-
-
Save jronal/b5f8d8f35ac21990e0ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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