Crypto functions added according to crackstation.net. Have salt and hash, ready to be stored in db