An evolutionary technique is applied to the design of a digital circuit which computes a simple hashing function to map a 16-bit address space into an 8-bit one. Based on an FPGA architecture, the circuit is synthesized automatically through simulated evolution. Experimental results demonstrate that the evolved circuits have better performance than standard hashing functions based on modulus.