C random password generating library