Initial code for hashing and hashing + encrypting passwords