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

way old AES.class.php #4

Closed
andyknas opened this issue Mar 3, 2018 · 1 comment
Closed

way old AES.class.php #4

andyknas opened this issue Mar 3, 2018 · 1 comment

Comments

@andyknas
Copy link

andyknas commented Mar 3, 2018

I have your way old class from Oct 1, 2007. This older class doesn't seem to be compatible with other libraries to decrypt AES128 not was i able to just drop in this newer class to replace it. I'm thinking i need to decrypt with the older class and then re-encrypt with the newer one to get some compatibility?

@clphillips
Copy link
Collaborator

This class may not be a drop in replacement due to PHP namespace changed and possibly some method signature changed, but it should have no problem decrypting data encrypted using the old class, provided you provide the same key, initialization vector, mode, and padding scheme required by this version of the class.

If you could replicate the issue with some example data, that would be a big help. For example, encrypt "hello world" with your old copy andnew copy with the same options.

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

2 participants