Try to understand Before marking duplicate: InvalidKeyException: Illegal key size [duplicate]

ⅰ亾dé卋堺 提交于 2019-12-03 21:46:18

It looks like you're using AES with a 256 bit key.

You need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy files to use keys larger than 128 bits.

http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!