system_out_제거
This commit is contained in:
@@ -51,20 +51,20 @@ public class CryptoUtil {
|
||||
String key = "ONAuROzlqWB4VuBwO5C/FA==";
|
||||
String text = "Hello AES 한글";
|
||||
|
||||
System.out.println("Original Text: " + text);
|
||||
// System.out.println("Original Text: " + text);
|
||||
|
||||
long startEncryptTime = System.nanoTime();
|
||||
String enc = encryptAES(key, text);
|
||||
long endEncryptTime = System.nanoTime();
|
||||
long encryptDuration = endEncryptTime - startEncryptTime;
|
||||
System.out.println("Encrypted Text: " + enc);
|
||||
System.out.println("Encryption took: " + encryptDuration + " nanoseconds");
|
||||
// System.out.println("Encrypted Text: " + enc);
|
||||
// System.out.println("Encryption took: " + encryptDuration + " nanoseconds");
|
||||
|
||||
long startDecryptTime = System.nanoTime();
|
||||
String dec = decryptAES(key, enc);
|
||||
long endDecryptTime = System.nanoTime();
|
||||
long decryptDuration = endDecryptTime - startDecryptTime;
|
||||
System.out.println("Decrypted Text: " + dec);
|
||||
System.out.println("Decryption took: " + decryptDuration + " nanoseconds");
|
||||
// System.out.println("Decrypted Text: " + dec);
|
||||
// System.out.println("Decryption took: " + decryptDuration + " nanoseconds");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user