Reimplement password creation without using crypto packages.