export hashPassword method on backend object