Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.crypto.Cipher;
- //javac Test.java
- //java Test
- 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 :(");
- }
- }
- }
Add Comment
Please, Sign In to add comment