I would be wary of hardware store flux, unless it is very specifically electronics solder flux, and even then, you'll want to know what kind of flux it is. Some fluxes are nasty, and must be removed fully from the board after use or they will cause corrosion.
Hardware stores often carry...