Sinistra Dexx
unread,Mar 25, 2012, 11:10:14 PM3/25/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi
I wanted to create a little custom hashing function for server
communication security (hash the username and use that as a password).
For this to work I need my hashing function to be a secret, hidden,
closed source, so one way would be a complicated then obfuscated
JavaScript or a C++ XPCOM component. I went with the second option,
but can't get it to work.
It builds successfully, added to the components sub-folder of my add-
on (the xpt and dll files), also added to the manifest file:
interfaces components/name.xpt
binary-component components/name.dll
My problem is that it seems like Firefox doesn't load it. XPCOMViewer
can't find it, and if I try to get the service from javascript I get
an exception with the following message:
TypeError: Components.classes['@path/name;1'] is undefined
I know this isn't much info, but there are too many program lines
(like the headers of the component), so please request which details
should I post and I'll do it. I appreciate any advice, I'm stuck with
this since ages.
Best regards,
lil-Dexx