SAP Knowledge Base Article - Preview

1972192 - PowerBuilder 12.5.2: Password Encryption Fails With Machine Code Executable

Symptom

Added functionality to several of our PowerBuilder applications to encrypt password fields using several Microsoft APIs.  Functions in the advapi32.dll and crypt32.dlls are used as part of this encryption process. Specifically, the application is using a PROV_RSA_AES providertype, with SHA-1 hashing. The code successfully hashes the password to the expected result when running from within PowerBuilder.  However, it fails when running the code using a machine code executable. The application either crashes or returns a two (2) byte string.


Read more...

Environment

SAP PowerBuilder 12.5.2.

Product

SAP PowerBuilder 12.5

Keywords

KBA , BC-SYB-PB , PowerBuilder , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.