Consultor Eletrônico



Kbase P112436: Data encrypted in 4GL cannot be decrypted in .Net
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/01/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Encrypting data in 4GL client

Encrypted data is sent to a .Net client

.Net client is unable to decrypt the encrypted data

CAUSE:

The 4GL code was incorrectly using password based encryption (i.e. the GENERATE-PBE-KEY function was used to assign values to the SYMMETRIC-ENCRYPTION-KEY and SYMMETRIC-ENCRYPTION-IV attributes of the SECURITY-POLICY handle.

FIX:

Modify the 4GL code to pass a MEMPTR containing the encryption keys rather than using the GENERATE-PBE-KEY function.