How to check Java Cryptography Extension (JCE) working status
$ jrunscript -e 'exit (println(javax.crypto.Cipher.getMaxAllowedKeyLength("AES") >= 256));'
Warning: Nashorn engine is planned to be removed from a future JDK release
true
Windows OS:
jrunscript -e "exit (println(javax.crypto.Cipher.getMaxAllowedKeyLength(\"AES\") >= 256));"
Comments
Post a Comment