Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » encrypt annotation
encrypt annotation [message #726385] Sat, 17 September 2011 20:08 Go to next message
moha  is currently offline moha Friend
Messages: 43
Registered: March 2011
Member
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 04:45 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
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 15:19 Go to previous messageGo to next message
moha  is currently offline moha Friend
Messages: 43
Registered: March 2011
Member
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 16:16 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
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: Thu Apr 25 11:34:47 GMT 2024

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

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

Back to the top