• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Decrypt Problem

Participant ,
Jul 05, 2007 Jul 05, 2007

Copy link to clipboard

Copied

I'm having a bit of a problem with the decryption of user passwords. Here is the error I'm getting:

"There has been an error while trying to encrypt or decrypt your input string: Given final block not properly padded. "

Here is the decrypt code:

<cfset dPassword = Decrypt("#qVerify.uPassword#",APPLICATION.Key,APPLICATION.pKey1,APPLICATION.pKey2)>

Any help would be appreciated.
TOPICS
Advanced techniques

Views

416

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jul 05, 2007 Jul 05, 2007
Figured it out.

Votes

Translate

Translate
Participant ,
Jul 05, 2007 Jul 05, 2007

Copy link to clipboard

Copied

I should have mentioned that I can pull the encrypted password from the DB with no problem. The main problem seems to be that the decrypt isn't decrypting because it doesn't return anything.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 05, 2007 Jul 05, 2007

Copy link to clipboard

Copied

LATEST
Figured it out.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation