If you have jdk7/jre7, can you still use the regular JCE Unlimited Strength files? or do you need JCE 7 files?
By the way why is it called JCE "Unlimited Strength"?
Printable View
If you have jdk7/jre7, can you still use the regular JCE Unlimited Strength files? or do you need JCE 7 files?
By the way why is it called JCE "Unlimited Strength"?
Maplestory private servers need to use certain cryptography algorithms. For some stupid reason, java does not include this in their default installation, so you have to manually add the unlimited strength files, which include these extra algorithms.
Obviously for Java 7 you need the JCE 7 files. Makes sense huh?
It will even tell you if you try to put in the JCE 6 files that they don't work and you should get the correct ones.
Also, JCE 7 files are 'regular'. It's just an 'updated' version compatible with the new version of Java (7).
As for the rest of your question, I refer to the post by retep998.
But why is it called "Unlimited Strength"??
And also, for my server to work, I have to put my compiled jar files into the java ext folders. I thought I would only have to put it into my MoopleDEV/dist folder...
Sigh, this isn't exactly the most complicated thing on the planet, but I'll explain it nevertheless.
Cryptographic algorithms have various strengths. They're used as a measure of how strong an algorithm is.
The Unlimited Strength files allow you to generate hashes that are not limited by anything other than the hardware.
Read the post below for why.
Basically, in some countries, encryption (or encryption past a certain strength) is illegal, for "national security" (read: government wants to monitor citizens and encryption makes this difficult). Oracle's not going to go bundle that many different Java installations, simply because they want Java to be legal in more countries and also most users will never even need to use that extra strength. But some users, such as people who want to make private servers, do, so they give them that option that if they live in a country where unlimited strength encryption is legal, they can patch their installation with these patched policy files and make it unlimited.
That's the only reason why it exists, not for a "supposed matter of security" or "some stupid reason" but because of legal issues. PuTTY also has something comparable, they post on their site if you live in a country where encryption is illegal that only PuTTYTel can be used since it transmits information in plaintext.
That's all.
Thanks for the great information but thats for the JCE Files am I right?
What about..
"And also, for my server to work, I have to put my compiled jar files into the java ext folders. I thought I would only have to put it into my MoopleDEV/dist folder... "
Yep. The JCE files effectively control the strength of the encryption in Java, you have to "patch" your installation with the JCE files for the reason I posted.
You don't put it into the /dist folder unless Moople's just like that (never tried it) because it's not a patch for the source but for Java. You put it in the proper places in the /ext folders, you'll be overwriting the "limited" strength JCE files as you do so. I can't remember all the locations at the moment, but it's in any server setup guide.