Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In certain cases [ERROR] failed to decrypt| CCCryptoStatus: -4304 #1

Open
will-districtnerds opened this issue Apr 11, 2012 · 3 comments

Comments

@will-districtnerds
Copy link

Very helpful encryption library for CCCrypt. Thank you for sharing. For certain strings decryption works but some times decryption fails and the error message I get is [ERROR] failed to decrypt| CCCryptoStatus: -4304. I haven't modified the configuration. Any ideas?

@will-districtnerds
Copy link
Author

I may have solved my own issue. I base64 encode the encrypted string and newlines were being inserted into the encoded result which may have impacted the decryption process. I'm going to test more before I know for sure.

@dev5tec
Copy link
Owner

dev5tec commented Apr 12, 2012

Thanks for your information. If FBEncryptor has an issue, please tell me.

@shaunchan
Copy link

having similar problems here..
i'm trying to decrypt an AES Base64 string with different results, based on the original string length.

eg:
i have an AES cipher text that should decrypt to plain text: "helloworld".
everything works well.

i have an AES cipher text that should decrypt to plain text: "helloworld893838959j2ru98fje98fu89eru3289uuf329u932".
i get 'CCCryptoStatus: -4304' error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants