Skip to main content
Inspiring
July 5, 2007
Answered

Decrypt Problem

  • July 5, 2007
  • 2 replies
  • 520 views
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.
This topic has been closed for replies.
Correct answer DDewbre
Figured it out.

2 replies

DDewbreAuthorCorrect answer
Inspiring
July 5, 2007
Figured it out.
DDewbreAuthor
Inspiring
July 5, 2007
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.