change credential assignment to a hash input to reduce connaissance