Digital Marketing

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

Popular posts from this blog

MySQL Sandbox with the Sakila sample database