Password encryption

Hello, we’re in the process of migration to a non-Silverstripe environment which isn’t an issue within itself but we would like to maintain member credentials and so need to isolate the password hashing code. The idea being the user enters credentials on the new enironment, the password is hashed and the result along with the entered email are searched for in the exported member table. Would anyone know how to grab the code to this?

That’s all handled in the security classes: silverstripe-framework/src/Security at 4 · silverstripe/silverstripe-framework · GitHub

If you’re looking to replicate the login system so you can retain the existing passwords, then you’re probably best starting with the LoginHandler class in MemberAuthenticator and working out from there.