Skip to main content



      Home
Home » Language IDEs » AspectJ » encrypt annotation
encrypt annotation [message #726385] Sat, 17 September 2011 16:08 Go to next message
Eclipse UserFriend
Hi,

I want to know if there is a way to encrypt aspectj annotations.

for example get the value of the annotation and encrypt it and how to decrypt the

encrypted value at runtime.

the purpose is to hide the annotation when my annotated class is decompiled.

any idea .


thanks in advance .
Re: encrypt annotation [message #726442 is a reply to message #726385] Sun, 18 September 2011 00:45 Go to previous messageGo to next message
Eclipse UserFriend
Why would you require anything more than a standard Java obfuscator?
Re: encrypt annotation [message #726797 is a reply to message #726442] Mon, 19 September 2011 11:19 Go to previous messageGo to next message
Eclipse UserFriend
Because i want to hide my annotation value in order to don't know what kind of classes are used in this annotation.

I'm thinking about encryptuion of the annotation value using encryption algorithm e.g :RSA but i don't know if there is a way to decrypt this value at runtime.

I think that we can use java obfuscator in case we need to keep or not the annotations

but we can't both keep and hide annotaions value.


Cordially.
Re: encrypt annotation [message #726828 is a reply to message #726797] Mon, 19 September 2011 12:16 Go to previous message
Eclipse UserFriend
Try asking on the aspectj users mailing list. Although this question is not aspectj specific (anyone who wants to obfuscate code, but needs runtime access to annotations will face this problem), there may be someone on the list who has some ideas.
Previous Topic:problem using method param in after advice
Next Topic:Help needed! Pointcut advice in AspectJ for control flow statements.
Goto Forum:
  


Current Time: Mon May 12 14:45:39 EDT 2025

Powered by FUDForum. Page generated in 0.09732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top