close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

SHA-IN/-OUT Signatur

Thread began 7/22/2015 6:39 am by info4753 | Last modified 7/23/2015 4:20 pm by Ray Borduin | 315 views | 5 replies |

info4753

SHA-IN/-OUT Signatur

I have to encode/decode my URL-Parameters with SHA-1 when sending the cc-clearing to the cc-clearing company (and receiving their information back). Do you have a tutorial and/or functions on how to do this? Thanks for any help.

Sign in to reply to this post

Ray BorduinWebAssist

SHA-1 is true encryption and not a HASH, so it doesn't have a decryption option. I think they probably use a hashing algorithm like RIJNDAEL to allow decryption.

Sign in to reply to this post

info4753

Hi Ray. From what I understand is that I call an URL with a string containing the order-information to the cc-company and also in a hidden field, a encrypted digest that is being built based on the String and a passphrase that is stored also on the cc-company's server. They to also encrypt the string and compare their result with the value in the hidden field that I have to create.

After the client enters the cc-information and submits his data, the same procedure goes the other way back.

Maybe you can have a look in the attached documentation, chapter "Appendix: SHA"?

Thanks in advance

Sign in to reply to this post

Ray BorduinWebAssist

You just need encryption, not decryption. They are just going to encrypt the same values you do and make sure they match, which verifies they haven't been tampered with.

Sign in to reply to this post

info4753

Thanks Ray. As they need a hidden field value, I guess I have to send the form via POST and add the string in the form action?

Sign in to reply to this post

Ray BorduinWebAssist

You would just add a hidden form element to the page and have it SHA1 encrypted when you post it to them.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...