I want to create integration with my own engine.
For this I must insert line with data in forum's database, but I can't understand how to generate `secret_key` (I hope it's encrypted password). In /src/XF/Authentification/Core.php I found sha256 and sha1 encryptors, but I'm not understand how encryption is done (double sha256 or sha1, with salt or not, etc.).
How to generate `secret_key` from user's incoming data?
For this I must insert line with data in forum's database, but I can't understand how to generate `secret_key` (I hope it's encrypted password). In /src/XF/Authentification/Core.php I found sha256 and sha1 encryptors, but I'm not understand how encryption is done (double sha256 or sha1, with salt or not, etc.).
How to generate `secret_key` from user's incoming data?