Reputation: 148
I have used JD decompiler for decompiling a jar file. Affter do that I have source code. However, I think that it is be encrypted! I get some class with the name like "Cny3", "JmcU","Ow0w","YrRb","Jhaa","gzL9", .... Can I decrypt or get the name of class with any software or tech. Thanks for your help.
Upvotes: 0
Views: 132
Reputation: 66243
(Emphasis mine):
I get some class with the name like "Cny3",
If most class have good names and there are just a few ugly names, then I wouldn't think of code obfuscation. I would think that some byte-code enhancing tool has generated some internal classes. Or perhaps some other tool which generates classes.
Tools which may be involved:
Edit Obfuscation tools usually also encrypt instance fields and method names as far as possible. How do they look like?
Upvotes: 0
Reputation: 14930
The code was not encrypted but obfuscated (see obfuscated code on Wikipedia). Class and method names where transformed to unique random strings to make the understanding of decompiled code difficult. Reversing this transformation is not possible.
Upvotes: 4