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

pack() function #5

Open
B1N4R1 opened this issue Oct 27, 2019 · 1 comment
Open

pack() function #5

B1N4R1 opened this issue Oct 27, 2019 · 1 comment

Comments

@B1N4R1
Copy link

B1N4R1 commented Oct 27, 2019

So I have this errors:
Warning: pack(): Type H: illegal hex digit R in C:\xampp\htdocs\legacy-master\index.php on line 192

Warning: pack(): Type H: illegal hex digit T in C:\xampp\htdocs\legacy-master\index.php on line 192

And I'm quite sure it's because of this line in the code:

$key = pack("H*", 'REDACTED');

Thing is, what do I have to change there for it to work?

I would appreciate if anyone was kind enough to explain me

Thanks!

@augustresende
Copy link

You need to generate a hex key to put here (encrypt passwords)

It is not an error, just warning.

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