cancel
Showing results for 
Search instead for 
Did you mean: 

Decrypt quoted-printable with Powerbuilder

Former Member
0 Kudos

Hi,

How can I decrypt quoted-printable with best performance?

String-functions in Powerbuilder are slow, so I search a other possibility. Is there a Windows api who can decrypt qouted-printable? For example, I use crypt32.dll for base64.

Powerbuilder 11.5.1

SQL server 2008 R2

Accepted Solutions (0)

Answers (2)

Answers (2)

arnd_schmidt
Active Contributor
0 Kudos

PBNI PowerPack can do the job.

Source is available at http://www.sybase.com/developer/codexchange in the PowerBuilder section.

Former Member
0 Kudos

Hi Arnd,

I see only encode and decode for base64. Where can I find the encode/decode script for quoted-printable ?

Former Member
0 Kudos

The "Free Code" section at http://www.topwizprogramming.com/ has a helper object that uses the MS Crypto package. I haven't done any performance tests-- actually, I haven't tried any other cryptography packages-- but I think it's safe to say that operations at the OS level are going to be faster than PB's own string functions.

Former Member
0 Kudos

Hi Jason,

In the code on the site, I find only PB functions for decrypt quoted-printable. We have files of 3.7 Mb and it takes 20 minutes only to decrypt this attachment. This is not acceptable, decrypt from base64 (with the api) is less than a minute.

Danny

Former Member
0 Kudos

You might try reaching out to the developer, Roland Smith. I know he's good about returning emails. You can contact him through his site.

Former Member
0 Kudos

My POP3 example has code to decode quoted-printable but it is likely to be slow for really big files because it is just PB code. I am not aware of any single API function that can do it quickly.