Password hashing using native node crypto library