Jump to content

PS 1.7: Extending Hashing functionality


jenswl

Recommended Posts

Hello,

 

I am not yet so familiar with the PS code and need your advise.

 

My scenario:

 

I have a shop migration that requires to add a further hash method in Hashing.php (which is in the src folder) to allow a validation of salted, imported pwds (the existing hash methods do not help here).

The method modifier for initHashMethods does not allow me to extend the functionality by a child class e.g. via a module (I guess it is private for security reasons).

Do you have an ideas of how to handle such a code change? Of course I can just change the class and upload it to the src folder but with the next PS update it might be overwritten.

 

best regards,

 

Jens

Edited by jenswl (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...