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

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership