

Your first step will be learning to dry it and keep it dry. I can recommend a scale that can resolve to at least 0.1g so you can measure the weight loss while drying. This will help in seeing when it’s sufficiently dry (put it in dryer and weigh it every hour) and if it took moisture again.
Use the recommemded parameters: https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-argon2-04#page-11
Also consider WebauthN/Passkeys. They are much less ressource intensive on the server but useless to an attacker when the database is leaked and as such don’t rely on slowing down the crypto operations.