Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
By default, AES supports a 128‑bit key. If you plan to use a 192‑bit or 256‑bit key, the Java compiler will throw an Illegal key size exception. This is not due to a bug in the Aspose.Cells API, but rather due to the limited features of the JDK/JRE itself. The default policy files of the JDK/JRE are crippled because of import restrictions in some countries. Users have to obtain the Unlimited Strength policy files and install them in their JRE to use advanced cryptography functionality for encryption/decryption.
You may get java.security.InvalidKeyException: Illegal key size (or default parameters) while loading a protected spreadsheet.
The solution is actually very simple, as detailed below.
${java.home}/jre/lib/security/ directory.Please use the download link that corresponds to your JDK/JRE version.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.