Sorry to throw so much at you. I just did a little searching, and it looks like WP has had options for other hashing methods for some time, though I did see a claim that MD5 was still the default as of 2014.
Are you a registered user in the WP database? I ask because an easy first step would be to test your own hash and credentials (or someone else's if you can get them) for MD5 compatibility. That would be much easier than figuring out what WP is using.
In fact, I think this would work as a test.
On some test site:
1. Create a new user
2. In PhpMyAdmin, go to the user's record in the modx_users table
3. Change the hash_class field to hashing.modMD5
4. Important: Make sure the cachepwd and salt fields are empty
5. Paste the WP user's password hash value from the WP DB into the password field
6. Paste the username into the username field
7. See if you can log in.
If you can, you're pretty much home free on the import.
I think I have some code around somewhere that lets you create a list of WP fields and the MODX fields they map to and creates MODX users from a CSV file. IIRC, it's easier if the CSV export contains a header row to give you the field names. It's one of the umpteen extras I plan to create and release someday.
There's an article
here about importing WordPress articles into Articles. It's not really what you want, but if you read it carefully, you can see how to export users from WordPress. I suspect they go into a CSV file, but you'd have to try it to find out. It might be a SQL file, but that would be OK too.
BTW, if it's not MD5 and you can't determine what it is, it's theoretically possible to create a login form that asks for the user's username, email, and password. Then you can have a plugin that uses the email as a temporary password and creates a new hash based on the password they enter.
[ed. note: BobRay last edited this post 11 years, 3 months ago.]