I had asked a question about this earlier, but it didn\'t get answered right and led nowhere.
So I\'ve clarified few details on the problem and I would really like t
Default JDK supports encryption only through 128 bit keys becuase of American restrictions.
So to support encryption from 256 bit long key we have to replace local_policy.jar
and US_export_policy.jars
in $JAVA_HOME/java-8-oracle/jre/lib/security
folder otherwise it will give:
java.security.InvalidKeyException: Illegal key size or default