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

can't decrypt on new server #12

Closed
TihomirS opened this issue May 2, 2020 · 0 comments
Closed

can't decrypt on new server #12

TihomirS opened this issue May 2, 2020 · 0 comments

Comments

@TihomirS
Copy link

TihomirS commented May 2, 2020

Hi,

I use this simple class on one of my projects.
I use it only with custom key:
Cryptor::Encrypt('ala-bala@gmail.com', $kkey);
on this server, all works ok.

But I need to go to a new one .. after code transfer and get data from DB I can't decrypt encrypted data..
I get some utf string like - ί�]�͇�a���Mٗ�����6����

If I re-encrypt string and decrypt it all is working fine again .. what I miss?
How to use it to be able to future data transfer to a new server?

P.S. I use the same PHP version on same ubuntu servers
PHP Version 7.2.24-0ubuntu0.18.04.4

@TihomirS TihomirS closed this as completed May 4, 2020
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

1 participant