Tessa100
07-27-2009, 07:53 AM
Hi Everyone - I've just registered and hope someone can help me.
I use Amazon Advertising API for my websites but they have a deadline of 15 August for everyone to put a signature on all REST requests sent to them.
I'm a VB programmer from a long time ago and have struggle to get my aspx pages working with 'code_behind' because I am new to the whole namespace thing. Nevertheless they presently work fine.
I have found examples of how to do the signature but they seem to be written in VB. Namespaces aren't mentioned (for example I had to add Imports System.Text.RegularExpressions to get a text splitting function to work) I can only presume this was the correct thing to do!??
My main problem seems to be with the CHA256 hashing (I'm a bit lost on this part to be honest). When I compile I get the 'Type 'CSHA256' is not defined' for the line 'Dim oSHA256 As CSHA256'. Can anyone tell me what to do to overcome this? Do I need to utililise another namespace? I'm happy to paste up the code or to give links to it in a blog but it is quite lengthy.
Is there a better way of encrypting the string I'm producing? There seems to be much easier ways in PHP and other languages.
Please help me. I'm a little worried that all of my sites will simply go offline if I can't sort this out.
Thanks in advance.
Tessa:)
I use Amazon Advertising API for my websites but they have a deadline of 15 August for everyone to put a signature on all REST requests sent to them.
I'm a VB programmer from a long time ago and have struggle to get my aspx pages working with 'code_behind' because I am new to the whole namespace thing. Nevertheless they presently work fine.
I have found examples of how to do the signature but they seem to be written in VB. Namespaces aren't mentioned (for example I had to add Imports System.Text.RegularExpressions to get a text splitting function to work) I can only presume this was the correct thing to do!??
My main problem seems to be with the CHA256 hashing (I'm a bit lost on this part to be honest). When I compile I get the 'Type 'CSHA256' is not defined' for the line 'Dim oSHA256 As CSHA256'. Can anyone tell me what to do to overcome this? Do I need to utililise another namespace? I'm happy to paste up the code or to give links to it in a blog but it is quite lengthy.
Is there a better way of encrypting the string I'm producing? There seems to be much easier ways in PHP and other languages.
Please help me. I'm a little worried that all of my sites will simply go offline if I can't sort this out.
Thanks in advance.
Tessa:)