"Ancient Egyptians used materials like honey, acacia gum, and crocodile dung as contraceptives. These are some of the earliest known methods of birth control from between 1550 and 1850 BCE."
that's exacly how early computers worked.