Consultor Eletrônico



Kbase P120755: Decrypting data returns EVP_DecryptFinal: wrong final block length error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/11/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x

SYMPTOM(s):

Client using encryption functionality to secure passwords

EVP_DecryptFinal: wrong final block length

CAUSE:

The decryption function was using a different algorithm than was used during encryption

FIX:

Modify the source code to ensure that the same algorithm is used to both encrypt and decrypt the data