Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants