so im very new to programming, its a miracle and a half i managed to get java reinstalled after a year and a half of not using it
im taking a cryptography class, the teacher wants to show us the code behind some algorithms, like des and 3des, and in order to do so, we need to install the policy files for the JCE
so i downloaded them
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload
and i took those 2 jar files, and put them....
C:\Program Files (x86)\Java\jre6\lib\security
now i run javac and compile the program he gives us, then i run java DesEncrypter
and i get
java.security.invalidkeyexception: illegal key size
java.lang.illegalstateexception: cipher not initialized
googling THAT led me to believe something was wrong with the JCE policy files, so i go and try to run them: Failed to load Main-Class manifest attribute from C:\Program Files (x86)\Java\jre6\lib\security/local_policy.jar
i can open them up with 7zip and extract the files, but again, that does nothing
long story short, i have little to no idea what is wrong here, if anyone could shed some light it would be extremely helpful