Change password algo for the username plugin?

I understand that with emailAndPassword you can do this

export const auth = betterAuth({
    //...rest of the options
    emailAndPassword: {
        password: {
            hash: // your custom password hashing function
            verify: // your custom password verification function
        }
    }
})


but what about replacing the password algo when using the username() plugin?
Was this page helpful?