On 6 Nov. 2016, at 09:12, Lawrence Banahan <banahan.l@gmail.com>= wrote:Hi Tom,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
it seems to be working but I'm not getting the right Mac key at the=20end...
With your code I have
Value =3D2780154*05/11/2016:23:01:57*50=20EUR*147838331710*Finale Championnat de M=C3=A9diterran=C3=A9e Laser=202016*3.=0*FR*clubnautiq*webmaster@cnsr.fr**********
Key=3D mykey
I get the following "c8b75a4f5268376368218b8e36ea674980a1e396 " (I don't understand why I get a space at the end)
but the banks server tells me I should get this=20"A4FE0F****************************FE6CE5"
Do you have any clue?
Thanks
Lawrence=20 31 octobre 2016=2014:00Lawrence,Hi - this shell command should do the trick:=20 [shell]echo -n "value" | openssl sha1 -hmac ="key"[/shell]replace the value and key with your values.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament=20Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us =20 29 octobre 2016=2011:54I'm running=20Webdna 6 with MacOsXHi Tom,I got the info, it is HMAC-SHA1They also =propose me to use a Python script, what do you think about it?Thanks in advanceLawrence=20 24 octobre 2016=2019:28Laurence.Hi - you need to know what type of hash they are looking for. It's =likely to be SHA-1 or SHA-256.Once you know that=20there are different ways to do it depending on your version of WebDNA=20and your OS - assuming you can run [shell] commands.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament=20Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us =20 24 octobre 2016=2016:22Hello,
I wonder if any body knows how to sort this out with =Webdna
I'm finishing a project with CC payment.
The bank is asking me to have a cryptographic hash in =combination=20with a=20secret key to specification RFC 2104.
I understand what it mean, but I have no clue on how to =do it...
Google didn't help me with that either :-(
it looks like php as a fontion for that=20http://fr.php.=net/manual/en/function.hash-hmac.php
Would any body had gone through this?
Thanks for feed back
Lawrence.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
On 6 Nov. 2016, at 09:12, Lawrence Banahan <banahan.l@gmail.com>= wrote:Hi Tom,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
it seems to be working but I'm not getting the right Mac key at the=20end...
With your code I have
Value =3D2780154*05/11/2016:23:01:57*50=20EUR*147838331710*Finale Championnat de M=C3=A9diterran=C3=A9e Laser=202016*3.=0*FR*clubnautiq*webmaster@cnsr.fr**********
Key=3D mykey
I get the following "c8b75a4f5268376368218b8e36ea674980a1e396 " (I don't understand why I get a space at the end)
but the banks server tells me I should get this=20"A4FE0F****************************FE6CE5"
Do you have any clue?
Thanks
Lawrence=20 31 octobre 2016=2014:00Lawrence,Hi - this shell command should do the trick:=20 [shell]echo -n "value" | openssl sha1 -hmac ="key"[/shell]replace the value and key with your values.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament=20Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us =20 29 octobre 2016=2011:54I'm running=20Webdna 6 with MacOsXHi Tom,I got the info, it is HMAC-SHA1They also =propose me to use a Python script, what do you think about it?Thanks in advanceLawrence=20 24 octobre 2016=2019:28Laurence.Hi - you need to know what type of hash they are looking for. It's =likely to be SHA-1 or SHA-256.Once you know that=20there are different ways to do it depending on your version of WebDNA=20and your OS - assuming you can run [shell] commands.- Tom---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament=20Street
Temple Bar,Dublin 2
Ireland
----------------------------------------------
[t]: + 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us =20 24 octobre 2016=2016:22Hello,
I wonder if any body knows how to sort this out with =Webdna
I'm finishing a project with CC payment.
The bank is asking me to have a cryptographic hash in =combination=20with a=20secret key to specification RFC 2104.
I understand what it mean, but I have no clue on how to =do it...
Google didn't help me with that either :-(
it looks like php as a fontion for that=20http://fr.php.=net/manual/en/function.hash-hmac.php
Would any body had gone through this?
Thanks for feed back
Lawrence.To unsubscribe, E-mail to: =div>archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...