Hey guys, here's a little dump of my code for you guys to read. It's to help me learn node.js.
http://pastebin.com/FAYNzGvMCurrently, it's giving me "invalid sign", which is extremely weird, even when I give my actual secret. I don't see what i'm doing wrong, I have even cheated and gone onto other user's API projects that work, and found that I am using the same encryption code as them. What am I doing wrong? I'm guessing it's something to do with line 24.
Thanks!