What data prosody uses for mySQL login?

I have successfully linked mysql to jitsi-meet to use it for login. I’m making a registration page so i want to know what data it uses (ie for hashing passwords). So i added a user using prosody from the command line and look at the table from phpmyadmin. It added 4 new entries to the database, iteration_count, stored_key, salt, and server_key. Can someone explain to me this 4 datas?

I want to know how to recreate how prosody adds users using php.

This can be helpful: https://gist.github.com/cagonza6/f1e4597309868d5a5f09

And this: https://stackoverflow.com/questions/29298346/xmpp-sasl-scram-sha1-authentication