Added salt and md5 functionality.