Skip to content

Instantly share code, notes, and snippets.

@pandeykumar
pandeykumar / Test.java
Last active August 29, 2015 14:23 — forked from nogweii/Test.java
import javax.crypto.Cipher;
class Test {
public static void main(String[] args) {
try {
System.out.println("Hello World!");
int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES");
System.out.println(maxKeyLen);
} catch (Exception e){
System.out.println("Sad world :(");