Re: [WebDNA] Create a cryptographic Mac key...

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 113163
interpreted = N
texte = 751 --Apple-Mail=_F96D9039-A53F-4025-8F84-8E993BBA4E60 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I would check the encryption method, your result is all lowercase, the = example is all uppercase. Do you have the same number of characters as they have in the example ? Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 6 Nov. 2016, at 09:12, Lawrence Banahan = wrote: >=20 > Hi Tom, >=20 > it seems to be working but I'm not getting the right Mac key at the = end... >=20 > With your code I have=20 >=20 > Value =3D2780154*05/11/2016:23:01:57*50 EUR*147838331710*Finale = Championnat de M=C3=A9diterran=C3=A9e Laser = 2016*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 = "A4FE0F****************************FE6CE5" >=20 > Do you have any clue? >=20 > Thanks > Lawrence >> Tom Duke 31 octobre 2016 = 14:00 >> Lawrence, >>=20 >> Hi - this shell command should do the trick: >>=20 >> [shell]echo -n "value" | openssl sha1 -hmac "key"[/shell] >>=20 >> replace the value and key with your values. >>=20 >> - Tom >>=20 >>=20 >>=20 >> =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 Street >> Temple Bar,Dublin 2 >> Ireland >> ---------------------------------------------- >> [t]: + 353 1 4403907 >> [e]: > >> [w]: > >> =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 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us >> Lawrence Banahan 29 octobre 2016 = 11:54 >> Hi Tom, >> I got the info, it is HMAC-SHA1 >> I'm running Webdna 6 with MacOsX=20 >> They also propose me to use a Python script, what do you think about = it? >> Thanks in advance >> Lawrence >>=20 >>=20 >> Tom Duke 24 octobre 2016 = 19:28 >> Laurence. >>=20 >> Hi - you need to know what type of hash they are looking for. It's = likely to be SHA-1 or SHA-256. >>=20 >> Once you know that there are different ways to do it depending on = your version of WebDNA and your OS - assuming you can run [shell] = commands. >>=20 >> - Tom >>=20 >>=20 >>=20 >>=20 >>=20 >> =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 Street >> Temple Bar,Dublin 2 >> Ireland >> ---------------------------------------------- >> [t]: + 353 1 4403907 >> [e]: > >> [w]: > >> =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 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us >> Lawrence Banahan 24 octobre 2016 = 16:22 >> Hello,=20 >> I wonder if any body knows how to sort this out with Webdna=20 >> I'm finishing a project with CC payment.=20 >> The bank is asking me to have a cryptographic hash in combination = with a secret key to specification RFC 2104.=20 >> I understand what it mean, but I have no clue on how to do it...=20 >> Google didn't help me with that either :-(=20 >> it looks like php as a fontion for that = http://fr.php.net/manual/en/function.hash-hmac.php = =20 >> Would any body had gone through this?=20 >> Thanks for feed back=20 >> Lawrence=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_F96D9039-A53F-4025-8F84-8E993BBA4E60 Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505" --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I would check the encryption method, your result is all = lowercase, the example is all uppercase.

Do you have the same number of = characters as they have in the example ?

Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 6 Nov. 2016, at 09:12, Lawrence Banahan <banahan.l@gmail.com>= wrote:

Hi Tom,

it seems to be working but I'm not getting the right Mac key at the=20 end...

With your code I have

Value =3D2780154*05/11/2016:23:01:57*50=20 EUR*147838331710*Finale Championnat de M=C3=A9diterran=C3=A9e Laser=20 2016*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=20 14:00
Lawrence,

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



=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=20 Street
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=


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

=20 29 octobre 2016=20 11:54
Hi Tom,
I got the info, it is HMAC-SHA1
I'm running=20 Webdna 6 with MacOsX
They also = propose me to use a Python script, what do you think about it?
Thanks in advance
Lawrence



=20 24 octobre 2016=20 19:28
Laurence.

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=20 there are different ways to do it depending on your version of WebDNA=20 and your OS - assuming you can run [shell] commands.

- Tom





=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=20 Street
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=


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

=20 24 octobre 2016=20 16:22
Hello,
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=20 with a=20 secret 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=20 http://fr.php.= net/manual/en/function.hash-hmac.php
Would any body had gone through this?
Thanks for feed back
Lawrence
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=postbox-contact.jpg Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0644; name="postbox-contact.jpg" Content-Id: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkI CQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQ EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAZABkDAREA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi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VLrxNrGoRWdtqeoPP DYyb4zJyR0zk9T071zUsJRw83UpRs2e9mXE2aZxhKWCx1VzhTu4337avd9lcof8ACsPid/0TnxR/ 4KLj/wCIrpPnjvv2zP8Ak574gf8AYST/ANER0DR4vQM6j4V/8lP8If8AYe0//wBKEoA/digg/9k= --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=postbox-contact.jpg Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0644; name="postbox-contact.jpg" Content-Id: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkI CQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQ EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAZABkDAREA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3 uL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/6+LT/ANKI682O7PYw/wAS MX4Gf8l+0n/sLn/0bDW8/wDl0Jf8vD9Xq7DiP//Z --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505-- --Apple-Mail=_F96D9039-A53F-4025-8F84-8E993BBA4E60-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Create a cryptographic Mac key... (Lawrence Banahan 2016)
  2. Re: [WebDNA] Create a cryptographic Mac key... (WebDNA Development 2016)
  3. Re: [WebDNA] Create a cryptographic Mac key... (Tom Duke 2016)
  4. Re: [WebDNA] Create a cryptographic Mac key... (Lawrence Banahan 2016)
  5. Re: [WebDNA] Create a cryptographic Mac key... (Tom Duke 2016)
  6. Re: [WebDNA] Create a cryptographic Mac key... (Lawrence Banahan 2016)
  7. Re: [WebDNA] Create a cryptographic Mac key... (christophe.billiottet@webdna.us 2016)
  8. Re: [WebDNA] Create a cryptographic Mac key... (Tom Duke 2016)
  9. [WebDNA] Create a cryptographic Mac key... (Lawrence Banahan 2016)
751 --Apple-Mail=_F96D9039-A53F-4025-8F84-8E993BBA4E60 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I would check the encryption method, your result is all lowercase, the = example is all uppercase. Do you have the same number of characters as they have in the example ? Kind regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au > On 6 Nov. 2016, at 09:12, Lawrence Banahan = wrote: >=20 > Hi Tom, >=20 > it seems to be working but I'm not getting the right Mac key at the = end... >=20 > With your code I have=20 >=20 > Value =3D2780154*05/11/2016:23:01:57*50 EUR*147838331710*Finale = Championnat de M=C3=A9diterran=C3=A9e Laser = 2016*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 = "A4FE0F****************************FE6CE5" >=20 > Do you have any clue? >=20 > Thanks > Lawrence >> Tom Duke 31 octobre 2016 = 14:00 >> Lawrence, >>=20 >> Hi - this shell command should do the trick: >>=20 >> [shell]echo -n "value" | openssl sha1 -hmac "key"[/shell] >>=20 >> replace the value and key with your values. >>=20 >> - Tom >>=20 >>=20 >>=20 >> =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 Street >> Temple Bar,Dublin 2 >> Ireland >> ---------------------------------------------- >> [t]: + 353 1 4403907 >> [e]: > >> [w]: > >> =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 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us >> Lawrence Banahan 29 octobre 2016 = 11:54 >> Hi Tom, >> I got the info, it is HMAC-SHA1 >> I'm running Webdna 6 with MacOsX=20 >> They also propose me to use a Python script, what do you think about = it? >> Thanks in advance >> Lawrence >>=20 >>=20 >> Tom Duke 24 octobre 2016 = 19:28 >> Laurence. >>=20 >> Hi - you need to know what type of hash they are looking for. It's = likely to be SHA-1 or SHA-256. >>=20 >> Once you know that there are different ways to do it depending on = your version of WebDNA and your OS - assuming you can run [shell] = commands. >>=20 >> - Tom >>=20 >>=20 >>=20 >>=20 >>=20 >> =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 Street >> Temple Bar,Dublin 2 >> Ireland >> ---------------------------------------------- >> [t]: + 353 1 4403907 >> [e]: > >> [w]: > >> =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 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list . = To unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us = Bug Reporting: = support@webdna.us >> Lawrence Banahan 24 octobre 2016 = 16:22 >> Hello,=20 >> I wonder if any body knows how to sort this out with Webdna=20 >> I'm finishing a project with CC payment.=20 >> The bank is asking me to have a cryptographic hash in combination = with a secret key to specification RFC 2104.=20 >> I understand what it mean, but I have no clue on how to do it...=20 >> Google didn't help me with that either :-(=20 >> it looks like php as a fontion for that = http://fr.php.net/manual/en/function.hash-hmac.php = =20 >> Would any body had gone through this?=20 >> Thanks for feed back=20 >> Lawrence=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_F96D9039-A53F-4025-8F84-8E993BBA4E60 Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505" --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I would check the encryption method, your result is all = lowercase, the example is all uppercase.

Do you have the same number of = characters as they have in the example ?

Kind regards

Stuart Tremain
IDFK Web Developments
AUSTRALIA





On 6 Nov. 2016, at 09:12, Lawrence Banahan <banahan.l@gmail.com>= wrote:

Hi Tom,

it seems to be working but I'm not getting the right Mac key at the=20 end...

With your code I have

Value =3D2780154*05/11/2016:23:01:57*50=20 EUR*147838331710*Finale Championnat de M=C3=A9diterran=C3=A9e Laser=20 2016*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=20 14:00
Lawrence,

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



=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=20 Street
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=


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

=20 29 octobre 2016=20 11:54
Hi Tom,
I got the info, it is HMAC-SHA1
I'm running=20 Webdna 6 with MacOsX
They also = propose me to use a Python script, what do you think about it?
Thanks in advance
Lawrence



=20 24 octobre 2016=20 19:28
Laurence.

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=20 there are different ways to do it depending on your version of WebDNA=20 and your OS - assuming you can run [shell] commands.

- Tom





=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=20 Street
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=


--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

=20 24 octobre 2016=20 16:22
Hello,
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=20 with a=20 secret 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=20 http://fr.php.= net/manual/en/function.hash-hmac.php
Would any body had gone through this?
Thanks for feed back
Lawrence
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=postbox-contact.jpg Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0644; name="postbox-contact.jpg" Content-Id: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDA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HoH7I+q+MNP8AEWsXXws8KR6343fSLO2spLqA m206B1ija4eTGFwTjBIJxgZ5x1UqqjSdNLVvX0tscdbDyqV1Vb0Ssl5t7/cfbPi34MaZ49+Htxo2 tapD4nvdD026u7vV5NQaac6oeZoni+5FEChAToAAAoIzXmYvHY/C06lLDPlhJWbX5eXqfW8OZfkt fG4bE4+PtKkJpqMl7ttr3T1fk9D5J+LPhn4W2vxX0/SLPU7aPwla2ongkjvw6R3wdtiLPjDbowjF R0ZiP4cV8tVqSwvvZd7021frpfX/ADP0bjfEZzjMsorNqXJSjJ8t48j+H8uito0kfGXmJ/d/8e/+ vX1l2fjWh6V8Pfid8Qvgz4kbWvCGqXGkanHb/wBn3tvNFlZFUBXhmibrhl6HBUjjBFbp2E1czpvi B4xl17xD4nj8RX1tqniiWVtTubS4ktzPFIMNAyowVo8Y4YE8Dml8Q43jLmiVLrxNrGoRWdtqeoPP DYyb4zJyR0zk9T071zUsJRw83UpRs2e9mXE2aZxhKWCx1VzhTu4337avd9lcof8ACsPid/0TnxR/ 4KLj/wCIrpPnjvv2zP8Ak574gf8AYST/ANER0DR4vQM6j4V/8lP8If8AYe0//wBKEoA/digg/9k= --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505 Content-Transfer-Encoding: base64 Content-Disposition: inline; filename=postbox-contact.jpg Content-Type: image/jpeg; x-apple-mail-type=stationery; x-unix-mode=0644; name="postbox-contact.jpg" Content-Id: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkI CQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQ EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAAZABkDAREA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAg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A5hhsnyqjzgYyWYHYdrbQRg19 LgqEaFOVe9lJ3s/Pf5HzeNrOtXjSir2Vr+n6mL/wnfgX/oZdK/8AApf8a0+s0P50Y+yr9mZ/7FHx I174c+ALr9mfxJ8FJtZutJlmfV7jS9Ut91x9qG/bJDP5fzBCqEByfl7HNd1WhCtS9o3pLujzli1h sQsNZ8ytZrbyZ1/xY8Z3vw68JHxHo0F9pGt6Prdi9ppGt6cYRc6clwnmxrM+YGdovlGHOBkjJwR8 jgsihHEOrOSlq7L/AD6n1WIzRuiopWVtSt8EPDsXwx/Z68B2t5oI03WPiHf3XivxPcuuJ7xg7zjz 29cyW4AP3RketepnNVww8lFauyRx5bTjKtzS6as8U/4Qrxn/ANEt1L/wUy//ABNeP9Uq/wAn4Hd9 Zh/N+JT+MX/J63xO/wCv+y/9I4q+xf8ABXzPkqn+9/JfqZXxg/5Ei8/6+LT/ANKI682O7PYw/wAS MX4Gf8l+0n/sLn/0bDW8/wDl0Jf8vD9Xq7DiP//Z --Apple-Mail=_69860EBB-F366-4E4E-B75F-55A5DE1E1505-- --Apple-Mail=_F96D9039-A53F-4025-8F84-8E993BBA4E60-- . WebDNA Development

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

webcat/webmerchant docs (1997) OT-JS question (2001) Opinion: [input] should be called [output] ... (1997) Emailer (WebCat2) (1997) [Q] Novice's question (1997) db creator (2000) Nested tags count question (1997) [WebDNA] User sessions - cookies only or cookies and a sessions.db? (2016) WCf2 and nested tags (1997) Plugin or CGI or both (1997) HELP WITH DATES (1997) Need help... (1997) WebCat2.0 acgi vs plugin (1997) Multi vendor shop (2000) WebCat2 several catalogs? (1997) A little syntax help (1997) how do I delete 1 of 2 identical records? (2003) WebCat2b12 - nesting [tags] (1997) Cross OS Compatible HTML emailing (2003) RE: Adding a product from another site (1997)