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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to integrate recordset with encryption?

Thread began 9/15/2015 4:07 pm by LionsMane | Last modified 9/17/2015 5:31 pm by Ray Borduin | 337 views | 5 replies |

LionsMane

How to integrate recordset with encryption?

I use your mySQLi recordsets religiously, and on a new site, I need to include blowfish encryption/decryption on this site. I'm including sample code below of encryption that I have working - but it creates its own connection each time, and I'm going to have like 10 recordsets on this page. How can I re-code your mySQLi recordset code, and integrate this decryption code so they work together? Sample decryption code attached as PM.

Sign in to reply to this post

Ray BorduinWebAssist

Does your algorithm, mode, or iv value change on a page by page or row by row basis?

If they stay the same, then you can just reference them as variables on the page with the key variable. Then in your bindings you can call the mcrypt_decrypt function when displaying their values and use mcrypt_encrypt on insert and update pages.

It wouldn't seem you would need to use a recordset at all for those values as I doubt they would change on a row by row basis.

Sign in to reply to this post

LionsMane

Reply

Yes, and that's essentially what I'm doing when I manually create the decrypt process, but I'd rather not have to spell out the database connection for each group of data. Can you show me how you'd integrate that call to the Connections file?

Sign in to reply to this post

Ray BorduinWebAssist

I can help you with this in a premier support ticket. You can just add the variable declarations to the connection file and then use the encrypt and decrypt calls to the bindings when necessary.

Sign in to reply to this post

LionsMane

PM

Sign in to reply to this post

Ray BorduinWebAssist

Please contact me via phone, email, or skype and we can schedule a meeting.

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