Re: HMAC encription issue

2013-08-31 Thread Sergio Sanchez
El sábado, 31 de agosto de 2013 16:48:53 UTC+2, Sergio Sanchez escribió: > El sábado, 31 de agosto de 2013 16:39:08 UTC+2, Roy Smith escribió: > > > In article <3479e08e-d435-492b-b2a0-a1c18678f...@googlegroups.com>, > > > > > > sergio7...@gmail.com wrote: > > > > > > > > > > > > > ke

Re: HMAC encription issue

2013-08-31 Thread Roy Smith
In article , Sergio Sanchez wrote: > > To start with, your keys are not the same > > Sorry, that was a problem with the cut & paste. And your credentials are different too: var credentials = "admin:amin"; credentials = "admin:admin" Is this also a cut & paste error? Please, post EXACTlY the

Re: HMAC encription issue

2013-08-31 Thread Sergio Sanchez
El sábado, 31 de agosto de 2013 16:39:08 UTC+2, Roy Smith escribió: > In article <3479e08e-d435-492b-b2a0-a1c18678f...@googlegroups.com>, > > sergio7...@gmail.com wrote: > > > > > key="4545453030303743303134462035343733373432363420323031332D30382D33312031343A33353A3035" > > > key="4545453030

Re: HMAC encription issue

2013-08-31 Thread Roy Smith
In article <3479e08e-d435-492b-b2a0-a1c18678f...@googlegroups.com>, sergio7...@gmail.com wrote: > key="4545453030303743303134462035343733373432363420323031332D30382D33312031343A33353A3035" > key="4545453030303743303134462035343733373432363420323031332D30382D33312031343A33353A303$ To start with,

HMAC encription issue

2013-08-31 Thread sergio7654
Hi, I need to create a HMAC in Python just the way the following Javascript code does: var credentials = "admin:amin"; key="4545453030303743303134462035343733373432363420323031332D30382D33312031343A33353A3035" var shaObj = new jsSHA(credentials, "ASCII"); var hash = shaObj.getHMAC(key, "HEX", "HE