-
Notifications
You must be signed in to change notification settings - Fork 11
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
Problem with encryption key #15
Comments
Hi, it's been a few months since I last used the encryption stuff, but something like this should do:
(I haven't tested the code, so let me know if there's any problem.) This uses the same php-encryption library used by this module to create the key, so I guess you have it already installed (you do if you used Composer to install this module). If any problems occur with the encryption key, please comment back and I'll try to help you more. :) |
It needs to be a valid HEX key, not just any random string. We need to update that bit of documentation. |
Thank you Taitava, that worked great! |
Hi,
Can somebody help me out with creating a valid encryption key? The readme says you can use any kind of string. But I got an exception from defuse\php-encryption\src\Encoding.php that I need to use a hex string. So I came up with a hex string but I can't get past the exception below.
The text was updated successfully, but these errors were encountered: